Summary: | [1.5][compiler] Incorrect ambiguous method error with inherited raw type | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Kent Johnson <kent_johnson> | ||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | Flags: | philippe_mulet:
review+
maxime_daniel: review+ |
||||
Version: | 3.3 | ||||||
Target Milestone: | 3.3 RC2 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Kent Johnson
2007-05-23 15:32:26 EDT
Created attachment 68431 [details]
Proposed patch
Would like to release for 3.3 RC2 Looks good. You need one more reviewer. Verifier, the issue is that the code sample above should not raise any error, which it did before the fix. Patch looks good. (BTW, I checked that we still need to single out the oneParam == twoParam case; failure to do so results into broken AmbiguousMethodTest#11a, 11b and 14h.) Released into HEAD for 3.3RC2 (In reply to comment #0) correct test case should read: class X extends java.util.ArrayList { private static final long serialVersionUID = 1L; public void add(Comparable o) {} public void test() { add("hello"); } } (not \"hello\") Verified for 3.3 RC2 using build I20070525-0010 |