Bug 112917 - [type hierarchy] Quick Hierarchy misses super implementation of interface method
Summary: [type hierarchy] Quick Hierarchy misses super implementation of interface method
Status: CLOSED DUPLICATE of bug 64319
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 06:48 EDT by Markus Milleder CLA
Modified: 2013-07-23 04:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Milleder CLA 2005-10-18 06:48:52 EDT
Code:
public class Parent {
	public void work() {}
}
public interface Worker {
	public void work();	
}
public class Child extends Parent implements Worker {
	static {
		((Worker) new Child()).work();
	}
}

To reproduce:
Open the quick hierarchy on the call to work() in Child.
-> This only shows the Worker interface, while executing the code (obviously)
calls Parent.work()

The Type Hierarchy view shows both definitions with "Show All Inherited
Members", so this can be worked around.
Comment 1 Jerome Lanneluc CLA 2005-10-20 10:19:33 EDT
Verified that the type hierarchy computed by JDT Core has the subtype Child.
Moving to JDT UI for comment.
Comment 2 Dani Megert CLA 2011-05-20 04:40:40 EDT

*** This bug has been marked as a duplicate of bug 268763 ***
Comment 3 Dani Megert CLA 2013-07-23 04:51:01 EDT

*** This bug has been marked as a duplicate of bug 64319 ***