Community
Participate
Working Groups
In the following code: ---- interface TestInterface { int test(); } public enum TestEnum implements TestInterface { TEST { public int test() {return 42;} }, ENUM { public int test() {return 37;} }; } ---- In Eclipse 3.1M5 (and M4), the declaration of TestEnum is marked as erroneous (red squiggle below "TestEnum") with the error message: The type TestEnum must implement the inherited abstract method TestInterface. test() The code compiles without error with the Sun and JRockit compilers. The actual (behind the scene) class TestEnum (extending Enum<TestEnum>) should be abstract and not need to implement test().
It worked fine in M5 already (and was broken in M4).