Bug 69593 - Search for reference to type in namesake package fragment finds nothing
Summary: Search for reference to type in namesake package fragment finds nothing
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 09:25 EDT by Markus Keller CLA
Modified: 2004-09-23 11:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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