[kaffe] Bug Report - compiler in 1.0.7 fails
Warwick Hunter
whunter@agile.tv
Fri, 04 Oct 2002 09:53:10 +1000
When trying to compile some of my code with 1.0.7 I
get errors like this.
javac -classpath
:/usr/lib/junit.jar:/usr/lib/atvnet.jar:../test/testbase.jar:.:/usr/jre/lib/rt.jar
DatabaseTest.java
java.lang.ArrayIndexOutOfBoundsException
at
at.dms.kjc.CClassOrInterfaceType.getArguments(CClassOrInterfaceType.java:180)
at at.dms.kjc.CClass.collectApplicableMethods(CClass.java:1087)
at at.dms.kjc.CClass.getApplicableMethods(CClass.java:1063)
at at.dms.kjc.CClass.lookupMethod(CClass.java:677)
at
at.dms.kjc.JMethodCallExpression.findMethod(JMethodCallExpression.java:316)
at
at.dms.kjc.JMethodCallExpression.analyse(JMethodCallExpression.java:132)
at
at.dms.kjc.JExpressionStatement.analyse(JExpressionStatement.java:65)
at at.dms.kjc.JBlock.analyse(JBlock.java:88)
at
at.dms.kjc.JTryCatchStatement.analyse(JTryCatchStatement.java:86)
at at.dms.kjc.JBlock.analyse(JBlock.java:88)
at
at.dms.kjc.JMethodDeclaration.checkBody1(JMethodDeclaration.java:217)
at
at.dms.kjc.JClassDeclaration.checkTypeBody(JClassDeclaration.java:470)
at at.dms.kjc.JCompilationUnit.checkBody(JCompilationUnit.java:248)
at at.dms.kjc.Main.checkBody(Main.java:417)
at at.dms.kjc.Main.run(Main.java:187)
at at.dms.kjc.Main.compile(Main.java:69)
at at.dms.kjc.Main.main(Main.java:60)
I went to the site for KJC at www.dms.at and downloaded
the latest version of the compiler (2.1B).
http://www.dms.at/kopi/download/binaries.html
Once I installed the new jar my compiler problems disappeared.
Does this indicate it is time to update kjc.jar in the
1.0.7 kit?
Warwick
--
Warwick Hunter Agile TV Corporation
Voice: +61 7 5584 5912 Fax: +61 7 5575 9550
mailto:whunter@agile.tv http://www.agile.tv