Re: [abc-users] Re: compiler error when compiling berkeley DB

From: Thomas Pawlitzki <mailinglist_at_pawlitzki.name>
Date: Wed, 19 Mar 2008 14:49:56 +0100

Hello,

i found the time to try the compilation of berkeley DB 2.1.30 again.

I tried with the abc extension abc.ja but i receive the following error:

[java] abc started on Wed Mar 19 13:44:34 GMT 2008
     [java] Exception in thread "main"
polyglot.util.InternalCompilerError: unhandled exception during
compilation
     [java] at abc.main.CompileSequence.runSequence(CompileSequence.java:89)
     [java] at abc.main.Main.run(Main.java:488)
     [java] at abc.main.Main.main(Main.java:144)
     [java] Caused by: java.lang.RuntimeException: Attempting to add
method void <clinit>() to class
com.sleepycat.je.JoinCursor$1Anonymous0, but the class already has a
method with that signature.
     [java] at soot.SootClass.addMethod(SootClass.java:580)
     [java] at abc.ja.jrag.TypeDecl.jimplify2(TypeDecl.java:982)
     [java] at abc.ja.jrag.TypeDecl.jimplify2(TypeDecl.java:1010)
     [java] at abc.ja.jrag.ASTNode.jimplify2(ASTNode.java:590)
     [java] at abc.ja.jrag.ASTNode.jimplify2(ASTNode.java:590)
     [java] at abc.ja.jrag.Program.jimplify2(Program.java:952)
     [java] at abc.ja.CompileSequence.compile(CompileSequence.java:169)
     [java] at abc.main.CompileSequence.runSequence(CompileSequence.java:79)
     [java] ... 2 more
     [java] Java Result: 1

Does this tell you anything? Can you explain, why this error is thrown?

For me it seems as if there are some problems with anonymous inner classes.

Greetings,
Thomas
Received on Wed Mar 19 2008 - 13:49:58 GMT

This archive was generated by hypermail 2.2.0 : Wed Mar 19 2008 - 14:20:11 GMT