compiler bug?
John Hayward
John.C.Hayward at wheaton.edu
Mon Feb 7 08:44:26 PST 2000
Dear Kaffe People,
I'm not sure if this is the right place to send this but the following
program seems to crash the compiler: (forgot the first semicolon in for)
This is from the 1.0.5 distribution (NetBSD-1.4.1 package)
===
class Main{
public static void main(String argv[]) {
int i = 0;
for(i<10; i++)
System.out.println(i);
}
}
===
javac Main.java
java.lang.NoClassDefFoundError: antlr/collections/AST
at at.dms.kjc.Main.beautifyParseError(Main.java:692)
at at.dms.kjc.Main.parseFile(Main.java:488)
at at.dms.kjc.Main.run(Main.java:119)
at at.dms.kjc.Main.compile(Main.java:449)
at at.dms.kjc.Main.main(Main.java:432)
====
Since I am unleashing students on this I would like to have better error
diagnostics than the compiler crashing. Is there something which I am
missing from the distribution?
johnh...
More information about the kaffe
mailing list