Community
Participate
Working Groups
The following code compiles fine in Eclipse: public enum Test { A { @Override public String toString() { return a(); } public abstract String a(); } } but does not compile in javac (1.5.0_06): $ javac Test.java Test.java:10: <anonymous Test$1> is not abstract and does not override abstract method a() in public abstract String a(); ^ 1 error
Closing as dup of bug 156591. Added org.eclipse.jdt.core.tests.compiler.regression.EnumTest#test143 in HEAD and org.eclipse.jdt.core.tests.compiler.regression.EnumTest#test142 in 3.2 maintenance stream. *** This bug has been marked as a duplicate of bug 156591 ***
verified for 3.2.2 using build M20070112-1200