Community
Participate
Working Groups
Related to bug 90484, the following code reports an error when compiled with javac, but compiles fine using Eclipse. public interface I { @Override I clone(); } if clone() is replaced with foo() then we report the same error as javac.
Fix is trivial, interface methods should not tolerate @Override annotations.
Added AnnotationTest#test168
Created attachment 23596 [details] Patch for MethodDeclaration
Created attachment 23597 [details] Patch for AnnotationTest
I would not put this fix into RC4 since its basically an error test case.
I did put it onto the list as the fix was trivial.
Fixed in 3.1 maintenance branch
Verified in 3.2 M1 with build I20050808-2000.
Verified using M20050923-1430 for 3.1.1