Summary: | Implementation oddness in TypeHierarchy#getAllSuper*(IType) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | trivial | ||||||
Priority: | P3 | CC: | Olivier_Thomann | ||||
Version: | 3.4 | ||||||
Target Milestone: | 3.5 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Markus Keller
2008-07-01 06:32:52 EDT
Created attachment 110592 [details]
Proposed fix and tests
This fix returns the empty array NO_TYPE if the type has no super types/interfaces or if it doesn't exit in the hierarchy. It also avoids the creation of the ArrayList object if threre is no super types/interfaces.
Fix and tests released for 3.5M2 Verified for 3.5M2 using I20080914-2000 |