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

From: Pavel Avgustinov <pavel.avgustinov_at_magd.ox.ac.uk>
Date: Wed, 19 Mar 2008 14:14:27 +0000

Hi Thomas,

This looks like a bug in the new abc frontend, so we're very keen on figuring
out what's going on. Could you provide a link (or archive) of the source
you're trying to compile, as well as the command line you run and any other
information that might help us reproduce the issue?

Cheers,
- Pavel

On Wednesday 19 March 2008 13:49:56 Thomas Pawlitzki wrote:
> 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 - 14:14:34 GMT

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