Community
Participate
Working Groups
Created attachment 126952 [details] Test project that exhibits the problem. Build ID: I20090202-1535 Steps To Reproduce: 1. create a java project with files for the following 3 classes (or use the attached Test project). public abstract class Base<T extends Comparable> { abstract public int testM(T val); } public class FirstLevel<T extends Comparable> extends Base<T> { public int testM(T val) { return 0; } } public class SecondLevel extends FirstLevel<Double> { public int caller(Double val) { return testM(val); } } 2. under 3.4.1 there are no problems with this code. 3. under 3.5M5, the call to testM from SecondLevel.caller results in the compilation error "The method testM(Double) is ambiguous for the type SecondLevel" More information: unless i'm missing something, the 3.5M5 compiler appears to be wrong.
Created attachment 127023 [details] Proposed patch and testcase
Fix and test released for 3.5M6
Verified for 3.5M6 using I20090309-0100