Summary: | Bug in JavaSearchScope (1GLE1GC) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P4 | CC: | svandijk |
Version: | 2.0 | ||
Target Milestone: | 2.0 M2 | ||
Hardware: | All | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Olivier Thomann
2001-10-10 22:55:19 EDT
getCorrespondingResource() will return null in the case of an external jar too. So I'm not sure what this would change. I think the problem is more that JavaSearchScope.enclose(IJavaElement) has been called with an IJavaElement coming from an unrelated jar. If you want to debug it, you should look at JavaSearchScope.enclosingProjectsAndJars(). I suspect that this returns the external jar that causes the problem. PRODUCT VERSION: From Eclipse Corner Stef, any news on this one? If not, I will close. I am unable to find a failing scenario. My use of the search engine has changed quite a bit and I also use my own IJavaSearchScope implementation in certain cases. Next time I'll be sure to include a concrete set of steps for my own benefit as much as for the assignee. You may close this bug report. Closing. |