Community
Participate
Working Groups
The compiler complains about unimplemented methods inherited from an interface which are indeed implemented in the enums sub classes. The following enum class and interface demonstrate the bug which occurred in a larger context which would not be appropriate for presentation here. --- A.java --- public enum A implements B { C {public void f() {}} } --- B.java --- public interface B { public void f(); } The above files compile cleanly on Sun's JDK 1.5.0-b64 on at least the AMD64 platform. Using Eclipse 3.1M4 (build 200212162000) the following compiler error is reported in the Problems window: The type A must implement the inherited abstract method B.f() A simple workaround is to add the redundant line ";public abstract void f();" after the declaration of "C".
Created attachment 16795 [details] First file of testcase. This is the source code for the enum class.
Created attachment 16796 [details] This is the interface for the testcase.
Created attachment 16797 [details] This is the enum for the test case.
Just got fixed in HEAD *** This bug has been marked as a duplicate of 82590 ***