| Summary: | [compiler] [1.5] internal compiler reports method not implemented | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ralf Behle <ralf.be> |
| Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | psk |
| Version: | 3.1 | ||
| Target Milestone: | 3.1 M5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Indeed, compiler should not request abstract methods to be implemented when all enum constants supply their own body. Added regression test: EnumTest#test064. Fixed Fixed *** Bug 81729 has been marked as a duplicate of this bug. *** Verified in I20040214 |
For the given example the internal compiler reports that the method test of interface B should be implemented. Sun's javac has no problems with this example. public enum A implements B { Z { public void test() {}; }, X { public void test() {}; } } interface B { public void test(); }