Bug 28236

Summary: Search for refs to class in hierarchy matches class outside hierarchy
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nick Edgar CLA 2002-12-12 23:49:59 EST
build I20021210

- platform UI in source
- open type on MultiEditorInput (in org.eclipse.ui.part)
- select type name
- choose Search > References > Hierarchy
- it finds 1 ref in org.eclipse.ui.internal.EditorManager.java

EditorManager is not in MultiEditorInput's hierarchy
Comment 1 Jerome Lanneluc CLA 2003-01-20 10:17:33 EST
Was not filtering out import refs.
Fixed and added regression test JavaSearchTests.testTypeReferenceInHierarchy()
Comment 2 David Audel CLA 2003-02-07 10:34:35 EST
Verified.