Community
Participate
Working Groups
Eclipse 3.3M3 complains about code that Eclipse 3.2.1 was happy with and which the JDK is happy with. The regression makes lots of code with generics ambiguous.
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