Community
Participate
Working Groups
I20050126-0800 In the code below, search for references to X#generic(T). Only the first two references are found. Probably depends on bug 79990. Search currently finds all references when either - the method Y#generic(Number) is commented out, or - the method X#generic(T) is changed to take an argument of type Number class X<T> { public void generic(T t) {} } class Y extends X<Number> { public void generic(Number t) {} } class Z { void test(Number n) { new X<String>().generic(""); new X<Integer>().generic(1); new Y().generic(12); new Y().generic(n); } }
More than related... *** This bug has been marked as a duplicate of 79990 ***