Summary: | Reference search does not respect package fragments scope | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | ekuleshov |
Version: | 2.0 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Dani Megert
2002-08-23 04:41:27 EDT
oops. was for core. Package fragment reference is transformed into a package reference internaly. Thus we loose the package fragment root info. Note that the underlying compiler support doesn't know about pkg fragment root, so getting this right in search would require a lot of work. Worse than the Search (result)is the fact that it breaks refactoring. The resulting code doesn't compile any longer. We could restrain search to projects referring directly/indirectly onto the root of the target element (if cannot see it on its expanded classpath of candidate, then no point looking into it). Changed index selector to return indexes of projects or jars that can see the referenced element if any. Also filter working copies that cannot see the referenced element. *** Bug 30731 has been marked as a duplicate of this bug. *** Verified. |