Community
Participate
Working Groups
The following classes compile with eclipse 3.1 N20041101: -------------------------------------- public class X<T> { } public class Y { public void test(X<? extends Number> a) { } } public class Z extends Y { public void test(X<Number> a) { } } -------------------------------------- Class Z should be giving an error. The following error is returned when compiling using sun's JDK: Z.java:1: name clash: test(X<java.lang.Number>) in Z and test(X<? extends java.l ang.Number>) in Y have the same erasure, yet neither overrides the other
Added MethodVerify test 17
Verified in 200412140800