Community
Participate
Working Groups
Using HEAD. Test case: Test.java public class Test<T> { Test(T t) {} Test(Test<String> ts) {} } class X { Test<String> test = new Test<String>(new Test<String>("")); } Put cursor on Test of "...= new Test<String>..." and hit F3: get a beep and error message status: Current text selection does not resolve to a Java element Set as major due to the fact that it blocks tests to be written for bug 75642.
Fixed and test added Resolve_1_5#test0089() Problem is inside SelectionRequestor#acceptSourceMethod(). Erasure of the argument's type must be used instead of parameterized type.
Verified in I20050209 + JDT Core v_536