Summary: | [1.5][compiler] Interface methods may conflict with Object methods | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | mlists |
Version: | 3.1 | ||
Target Milestone: | 3.1.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2005-06-20 17:50:37 EDT
Slight modification of the previous code yields an error against J which doesn't make much sense to me, as J doesn't implement the interface, it simply extends it. interface I { @Override void clone(); } interface J extends I { } Fix will not be ready for 3.1.1, removing target milestone "3.1.1" Added MethodVerify test074 Released into HEAD and 3.1.2 stream Better testcase: interface I { void clone(); } interface J extends I { } should only yield a warning on I (cannot be implemented), but no error on J. Also compliance doesn't seem to be involved. We should always behave consistently throughout compliance modes. Verified in 3.1.2 using build M20060109-1200. Verified for 3.2 M4 using build I20051215-1506. |