[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #21363] ArrayIndexOutOfBoundsException when compiling de
From: |
TamásBenkő |
Subject: |
[Bug-kawa] [bug #21363] ArrayIndexOutOfBoundsException when compiling define-simple-class |
Date: |
Sun, 21 Oct 2007 13:19:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070904 Firefox/2.0.0.6 |
Follow-up Comment #2, bug #21363 (project kawa):
The version from SVN (1.9.3) compiles MiniTest.scm, but fails to compile
DocTest.scm (included in the attachment of my original post):
$ java -cp /usr/local/share/java/kawa-1.9.3.jar kawa.repl -C DocTest.scm
(compiling DocTest.scm to DocTest)
DocTest.scm:10: internal error while compiling DocTest.scm
java.lang.Error: popType called with empty stack
$N2d$Mnvector.<init>(DocTest,double)void
at gnu.bytecode.CodeAttr.popType(CodeAttr.java:316)
at gnu.bytecode.CodeAttr.emitInvokeMethod(CodeAttr.java:1316)
at gnu.expr.PrimProcedure.compileInvoke(PrimProcedure.java:540)
at gnu.expr.PrimProcedure.compile(PrimProcedure.java:522)
at gnu.expr.PrimProcedure.compile(PrimProcedure.java:491)
at gnu.expr.ApplyExp.compile(ApplyExp.java:171)
at gnu.expr.ApplyExp.compile(ApplyExp.java:110)
at gnu.expr.Expression.compileWithPosition(Expression.java:131)
at gnu.expr.ClassExp.compile(ClassExp.java:479)
at gnu.expr.ClassInitializer.<init>(ClassInitializer.java:16)
at gnu.expr.ClassExp.compileSetField(ClassExp.java:735)
at gnu.expr.SetExp.compile(SetExp.java:170)
at gnu.expr.Expression.compileNotePosition(Expression.java:157)
at gnu.expr.Expression.compileWithPosition(Expression.java:128)
at gnu.kawa.functions.AppendValues.compile(AppendValues.java:50)
at gnu.expr.ApplyExp.compile(ApplyExp.java:171)
at gnu.expr.ApplyExp.compile(ApplyExp.java:110)
at gnu.expr.Expression.compileWithPosition(Expression.java:146)
at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1500)
at gnu.expr.Compilation.generateBytecode(Compilation.java:2017)
at gnu.expr.Compilation.process(Compilation.java:1891)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:314)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:299)
at kawa.repl.compileFiles(repl.java:790)
at kawa.repl.processArgs(repl.java:444)
at kawa.repl.main(repl.java:853)
It does however work if I pass --module-static to the compiler.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21363>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/