Community
Participate
Working Groups
Build I20050527-1300. Create package p. Create types X and Y as follows: ---- X package p; public interface X { public interface X1 { } } ---- Y package p; import p.X.*; // (a) public class Y { } Launch a search on package p's references. Returns 0. As a side effect, a rename refactoring action on p fails to update line (a) in Y.
Created attachment 22908 [details] Patch to fix this issue Package reference locator *always* needs to verify if import reference tokens may match pattern prefix as it was done for type references. Currently it's only only when import reference is not on demand or is static.
Created attachment 22909 [details] Test case added to JavaSearchBugsTests Note that this test case requires to change jclMin1.5.jar and jclMin1.5src.zip files. I'll attach them to this bug
Created attachment 22910 [details] Modified jclMin1.5.jar
Created attachment 22911 [details] Modified jclMin1.5src.zip
+1 for RC3 Dirk - pls vote for this one. See impact on refactoring
I've run JDT-UI tests (refactoring & automated) and they all pass...
+1.
Fixed and released in HEAD.
Verified using build N20050616-0010 + JDT Core HEAD.