Summary: | [Search] package references confused with multiple fragments | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | tjbishop |
Version: | 2.1.2 | ||
Target Milestone: | 2.1.3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2003-11-25 08:43:48 EST
Problem comes from the fact we do not consider the focus element when matching inside import references. We likely have the same bug in qualified name or qualified type references. Solved by checking for type existence in package fragment element (if provided). Addresses import ref, qualified type ref and qualified name ref; both source and binary. Need some regression tests, and need to also fix in 3.0 stream. Fixed Added regression test JavaSearchMultipleProjectsTests.testPackageReference() in 2.1 maintenance stream. Fix adapted and released in 3.0 stream Fixed Regression tests ported to 3.0 stream. Verified for 3.0M6 Verified for 2.1.3 with build M200402251535. |