Summary: | [Compiler] Incorrect diagnosis of ambiguous method when inheriting | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jason Feng <dirtfeng> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1.2 | ||
Target Milestone: | 3.0 M9 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jason Feng
2004-04-23 00:06:47 EDT
Reproduced in 3.0. We indeed incorrectly diagnose an ambiguity: The method foo(long) is ambiguous for the type T2 but it is a fair error to detect in 1.3 compliant mode. Only in 1.4 compliant and subsequent mode must we tolerate it. Kent - the compliance check must here use: options.complianceLevel. Fixed. Added test075 to Compliance_13 & Compliance_14. Verified for 3.0 M9 with build I200405190010. |