Summary: | Regression in 3.3M3 with generics - ambiguous method. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | R Lenard <rlenard> | ||||||||
Component: | Core | Assignee: | Maxime Daniel <maxime_daniel> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | major | ||||||||||
Priority: | P3 | CC: | kent_johnson | ||||||||
Version: | 3.3 | ||||||||||
Target Milestone: | 3.3 M4 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
R Lenard
2006-11-23 01:45:58 EST
Created attachment 54401 [details]
A code snippet that produces the problem
the error is Severity and Description Path Resource Location Creation Time Id The method ffoo(Iterable<V>) is ambiguous for the type Tester Tester.java line 16 1164263973184 2547 Probably the same root cause as bug 163370. Maxime - until resolved, you probably could revert the offending change. Released AmbiguousMethodTest#45 into HEAD (inactive) and R3_2_maintenance. Created attachment 54419 [details] Experimentation - do not release This experimental patch forwards a bit the one submitted for bug 163370 (better management of WildcardBinding-s). If tests pass, I'll produce a more thorough patch starting from this one. Created attachment 54461 [details]
Fix - single variable only
The tests went OK on the experimental patch. This one is better in that method are more carefully distributed amongst classes and more clearly named.
I still need to investigate the multi-variables case.
Kent, would you please have a look and let me know what you think?
Released for 3.3 M4 in HEAD stream Used the patch for bug 163370 Verified for 3.3M4 with I20061211-1119 |