Bug 54865

Summary: Search does not restrict the result to the elements of the selected working set
Product: [Eclipse Project] JDT Reporter: Pascal Rapicault <pascal>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M8   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Pascal Rapicault CLA 2004-03-15 13:38:45 EST
Version I-200403100800

In a workspace, load some code.
Create a Java working set containing this code.
Open the java.io.File.
Do a Search > References > working set
Select the previously created working set

You'll notice that the result contains all the references of File in the jre
whereas it should be restricted to the selected working set.
Comment 1 Olivier Thomann CLA 2004-03-15 22:33:39 EST
Do you have the jre lin or the jre container on the classpath of the selected
working set? If yes, then it makes sense to get these matches.
Comment 2 Jerome Lanneluc CLA 2004-03-25 04:04:46 EST
Works as designed: the working set includes rt.jar.