compiler bug?

Roy Wilson rwwst6+ at pitt.edu
Mon Feb 7 13:24:27 PST 2000


John,
	Do you have an online syllabus? I'm thinking of teaching a beginning Java
programming course posibly using Kaffe.
Roy Wilson
rwwst6 at pitt.edu

--On Monday, February 07, 2000, 10:44 AM -0600 John Hayward
<John.C.Hayward at wheaton.edu> wrote:r

> 
> 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