Summary: | [search] Package search does not find references in member types import clause | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maxime Daniel <maxime_daniel> | ||||||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||||
Severity: | normal | ||||||||||||
Priority: | P3 | CC: | dirk_baeumer | ||||||||||
Version: | 3.1 | ||||||||||||
Target Milestone: | 3.1 RC3 | ||||||||||||
Hardware: | PC | ||||||||||||
OS: | Windows XP | ||||||||||||
Whiteboard: | |||||||||||||
Attachments: |
|
Description
Maxime Daniel
2005-05-31 11:54:35 EDT
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. |