Community
Participate
Working Groups
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.
Verified that the type hierarchy computed by JDT Core has the subtype Child. Moving to JDT UI for comment.
*** This bug has been marked as a duplicate of bug 268763 ***
*** This bug has been marked as a duplicate of bug 64319 ***