Bug 69593

Summary: Search for reference to type in namesake package fragment finds nothing
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2004-07-08 09:25:03 EDT
N-N20040708-200407080010: Failing test case
org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests.testImportFromMultiRoots1()
The other failing test cases are probably due to the same regression).

Steps:
- java project with 2 source folders srcPrg and srcTest

- srcPrg/p/p/A.java:
package p.p;
public class A { }

- srcTest/p/p/ATest.java:
package p.p;
public class ATest {
	A a;
}

- select package fragment srcTest/p.p
- Java Search for Type Reference "p.p.A" in Selected Resources
=> expected: reference in p.p.ATest#a
=> was: nothing found
Comment 1 Frederic Fusier CLA 2004-07-08 12:37:44 EDT
As for bug 69591, with jdt-core HEAD contents, I cannot reproduce your problem.
Both running RenamePackagetests or executing your scenario are OK on my box.
Did I miss something?
Comment 2 Markus Keller CLA 2004-07-08 15:39:37 EDT
I also cannot reproduce any more with jdt.core from HEAD. Some genie must have
fixed this as well.
Comment 3 David Audel CLA 2004-09-23 11:51:22 EDT
Reopen change status
Comment 4 David Audel CLA 2004-09-23 11:52:05 EDT
Change status to WORKSFORME