kaffe bug?
Archie Cobbs
archie at whistle.com
Tue Jan 20 18:35:39 PST 1998
When I compile this (obviously broken) program:
public class Foo {
char[] x = new char[] = { ':' };
}
..using "javac -O -g EtherAddr.java", I get a compiler crash:
java.lang.ArrayStoreException:
at sun/tools/java/Parser.exprArgs(line unknown, pc 0x4174f4)
at sun/tools/java/Parser.parseTerm(line unknown, pc 0x42d2fa)
at sun/tools/java/Parser.parseExpression(line unknown, pc 0x414e13)
at sun/tools/java/Parser.parseField(line unknown, pc 0x4230ca)
at sun/tools/java/Parser.parseClassBody(line unknown, pc 0x3f7d6c)
at sun/tools/java/Parser.parseNamedClass(line unknown, pc 0x3e3bd2)
at sun/tools/java/Parser.parseClass(line unknown, pc 0x3e4c69)
at sun/tools/java/Parser.parseFile(line unknown, pc 0x3f7549)
at sun/tools/javac/BatchEnvironment.parseFile(line unknown, pc 0x32925d)
at sun/tools/javac/Main.compile(line unknown, pc 0x17b74d)
at sun/tools/javac/Main.main(line unknown, pc 0x154b6b)
I filed a bug report with Sun but they were not able to duplicate
this under JDK 1.1.3... so it may be a bug in kaffe itself.
Can someone else confirm that they don't get this crash under JDK?
In which case it must be a kaffe bug (in which case I'm reporting it
here).
This is with the current FreeBSD port of kaffe under FreeBSD 2.2.5.
Thanks,
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list