Bug 8641 - Can't find references in hierarchy in binary projects
Summary: Can't find references in hierarchy in binary projects
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 17:22 EST by John Wiegand CLA
Modified: 2002-01-29 11:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Wiegand CLA 2002-01-28 17:22:27 EST
0125

1. Create a workspace with binary projects for all of 0125 (copy content)
2. Open on Type JavaProject and select the method getSharedProperty in the 
outliner.
3. Select references in hierarchy
-> No results are returned.

NOTE: Select references in workspace
->3 results are returned (including two that are in the hierarchy)

NOTE: It appears that hierarchy scope is matching on the actual path to the 
jar, not the logical path to the jar.
Comment 1 Jerome Lanneluc CLA 2002-01-29 11:42:24 EST
HierarchyScope was following the spec of IJavaSearchScope that stated that the 
path to the jar was always the OS path. This is not true any more. Changed 
implenmentation of HierarchyScope as suggested by John, and changed the spec to 
state that the jar path is the OS path if it is an external jar, and it is the 
workspace relative path if it is an internal jar.