Community
Participate
Working Groups
Created attachment 129849 [details] java-source to show the bug Build ID: M20080911-1700 Steps To Reproduce: 1. compile attached class with eclipse-compiler 2. compile attached class with javac 3. javac states am error at line 52 - eclipse states ok More information: using Eclipse 3.4.1 Java 1.6.0_11
Moving to JDT Core.
This has been fixed in 3.5 FYI, the problematic method is : interface J<T> extends Comparable<J<T>> { int getSize(); T getField(); } class X { <T extends J<?>> int x(T t1, T t2) { return t1.compareTo(t2); } } This compareTo() call compiled without error in javac 1.5, but now reports an error with javac 6.0. Our compiler also reports an error in 3.5
Actually this was fixed in 3.4.2
Verified for 3.5M7 using I20090426-2000 also.