Bug 154865

Summary: [hierarchy] Focus on Package only shows classes with missing superclasses
Product: [Eclipse Project] JDT Reporter: Randy Hudson <hudsonr>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jerome_lanneluc, martinae, Olivier_Thomann
Version: 3.2   
Target Milestone: 3.5 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix and regression test none

Description Randy Hudson CLA 2006-08-23 11:16:39 EDT
If I have a package with some classes having invalid superclasses, then invoking F4 on that package only shows me the problematic classes. I should still be able to see the classes that are compiling cleanly in their hierarchy.
Comment 1 Martin Aeschlimann CLA 2006-08-29 10:15:03 EDT
The view uses 'hierarchy.getRootClasses' and only gets the classes with errors back.
Moving to jdt.core.
Comment 2 Jerome Lanneluc CLA 2008-06-12 10:33:23 EDT
To reproduce:
1. New workspace
2. Paste the following CUs in Package Explorer:
==================================================
package p;
public class X {
}
class Y extends X {
}
==================================================
package p;
public class Z extends Unknown{
}
==================================================
3. Select package 'p'
4. Press F4
Observe: The Hierarchy view contains Z only
Comment 3 Jerome Lanneluc CLA 2008-06-12 11:56:34 EDT
Created attachment 104715 [details]
Proposed fix and regression test
Comment 4 Jerome Lanneluc CLA 2008-06-25 04:24:53 EDT
Fix and test released for 3.5M1
Comment 5 Olivier Thomann CLA 2008-08-06 13:47:23 EDT
Verified for 3.5M1 using I20080805-1307