Community
Participate
Working Groups
This Java File is compiled successfully with javac in Sun's JDK 1.5, but isn't compiled with eclipse 3.1M2 JDT with error. ---Java File Start--- class A<BB extends B> {} class B<AA extends A> {} public interface Test1<C extends B<?>, D extends A<?>> {} class AbstractA extends A<AbstractB> {}; class AbstractB extends B<AbstractA> {}; class Test2<E extends AbstractB, F extends AbstractA> implements Test1<E, F> {} ---Java File End--- As you see, it must be compiled properly. But eclipse makes following errors : "Bound mismatch: The type # is not a valid substitute for the bounded parameter <C extends B<?>> of the type Test1<C, D>"
Created attachment 15317 [details] Test Java File This file is compiled successfully with javac in SUN JDK 1.5. But it's not compiled with Eclipse 3.1M2 JDT.
Cannot reproduce in latest. *** This bug has been marked as a duplicate of 73963 ***