Community
Participate
Working Groups
Version: 3.1.1 Build id: M20050929-0840 The following code // <<marker>> public class Test4 { interface X { int values(); enum E implements X { A, B, C; } } } is flagged with the marker "This static method cannot hide the instance method from Test4.X" at position 0. The error message is correct as the implicitly generated static method values() in enum E cannot hide the explicitly declared method values() in interface X, but the error message should appear on the enum declaration.
Added EnumTest 125 Released into HEAD and 3.1.2 stream
Verified for 3.1.2 using build M20060109-1200.
Verified for 3.2 M4 using build I20051215-1506.