Kaffe compiler bug with anonymous inner classes.

Archie Cobbs archie at whistle.com
Tue Aug 4 10:27:11 PDT 1998


C. Scott Ananian writes:
> // The kaffe compiler (1.00) flags a bogus fatal error when compiling this
> // class.  sun's javac does just fine (1.1.6).
> class TestK {
>   public String toString() { return this.o.toString(); }
>   public static final Object o = (new Object() {});
> }

FYI,
The pizza compiler included with kaffe is slightly old.. there's
a newer version called gjc which seems to be pretty good. You might
try installing it. Check the transvirtual "links" page for the
relevant hyperlinks.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list