[Bug java/17691] error on valid java code from freenet
--- Comment #7 from tromey at gcc dot gnu dot org 2007-01-09 20:46 --- All gcj front end bugs have been fixed by the gcj-eclipse branch merge. I'm mass-closing the affected PRs. If you believe one of these was closed in error, please reopen it with a note explaining why. Thanks. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17691
[Bug java/17691] error on valid java code from freenet
--- Additional Comments From ruben at ugr dot es 2004-09-28 09:13 --- (In reply to comment #4) This might be a completely unrelated bug; at least the error message is different. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17691
[Bug java/17691] error on valid java code from freenet
--- Additional Comments From ruben at ugr dot es 2004-09-28 09:10 --- The workaround does not work when in an inner class. This was the original problem. >cat a.java class A { int x() { return 0; } } class B extends A { int x(){ return 1; } class C { int y(){ return B.super.x(); } } } >javac a.java #no error >gcj a.java a.java:13: error: 'class' or 'this' expected. return B.super.x(); ^ 1 error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17691