Bug 154865 - [hierarchy] Focus on Package only shows classes with missing superclasses
Summary: [hierarchy] Focus on Package only shows classes with missing superclasses
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 11:16 EDT by Randy Hudson CLA
Modified: 2008-08-06 13:47 EDT (History)
3 users (show)

See Also:


Attachments
Proposed fix and regression test (14.76 KB, patch)
2008-06-12 11:56 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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