Bug 6889

Summary: No typehierarchy for inner types
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: n.a.edgar
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Martin Aeschlimann CLA 2001-12-13 05:57:04 EST
11211
1. Create
    public class A {
	public class B extends java.util.Vector {
	}
    }
2. open B in type hierarchy, turn on 'Show All Inherited Members'
3. -> There is no supertype hierarchy of B, 'Object' missing
      typeHierarchy.getSuperTypes('B') returns an empty array
4. -> The inherited methods are complete
      typeHierarchy.getAllSuperTypes('B') returns results
Comment 1 Philipe Mulet CLA 2001-12-13 06:08:37 EST
Did you save the working copy prior to opening the hierarchy ?
Comment 2 Martin Aeschlimann CLA 2001-12-13 06:28:42 EST
Yes, everything saved.
Comment 3 Martin Aeschlimann CLA 2001-12-14 04:45:02 EST
*** Bug 6898 has been marked as a duplicate of this bug. ***
Comment 4 Jerome Lanneluc CLA 2001-12-18 05:15:32 EST
HierarchyResolver was not converting the source type it was fed with to the 
correct compilation unit when the source type was an inner type.
Fixed by finding the outer most type first.