Bug 111396 - TypeHierarchy doesn't notify listeners on addition of fully qualified subtypes
Summary: TypeHierarchy doesn't notify listeners on addition of fully qualified subtypes
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 19:21 EDT by Emerson Murphy-Hill CLA
Modified: 2005-10-28 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emerson Murphy-Hill CLA 2005-10-03 19:21:19 EDT
To demonstrate:
1) Create new A.java in package testpackage:
package testpackage;

public class A {}
class B{}
2) Open Type Hierarchy on class A
3) Change definition of B to:
class B extends testpackage.A

What happens: Hierarchy does not display B as a subtype of A.
Expected: B displayed as subtype of A.
Comment 1 Jerome Lanneluc CLA 2005-10-04 09:32:09 EDT
Fixed TypeHierarchy#includesTypeOrSupertype(IType) to correctly extract the
simple name (it was wrongly including the dot).

Added regression test TypeHierarchyNotificationTests#testAddExtendsSourceType3().
Comment 2 Olivier Thomann CLA 2005-10-28 11:42:47 EDT
Verified for 3.2 M3 using build I20051025-0800+JDT/Core v_618a