Bug 568937

Summary: Eclipse freeze when invoking type hierarchy for java.lang.Object
Product: [Eclipse Project] JDT Reporter: Gayan Perera <gayanper>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: markus.kell.r, mistria, rgrunber
Version: 4.18Keywords: bugday, helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Gayan Perera CLA 2020-11-18 14:33:57 EST
Eclipse freeze when invoking type hierarchy for java.lang.Object. It doesn't make sense to make a type hierarchy for java.lang.Object therefore the suggestion is to make the system not perform a TH for java.lang.Object,
Comment 1 Roland Grunberg CLA 2021-03-08 12:21:19 EST
IJ is, and VSCode Java will be taking the following approach : https://github.com/eclipse/eclipse.jdt.ls/pull/1656#issuecomment-773808384.

Maybe it can be improved, according to Bug 516038 ?
Comment 2 Mickael Istria CLA 2021-03-08 12:24:48 EST
I think a solution that just shows a message in the Type Hierarchy view (or, if nothing better is affordable, a popup) saying that "Type Hierarchy for Object is no available. All Java objects are instances of Object" would be enough to cover this case decently.
Comment 3 Mickael Istria CLA 2021-03-10 02:37:12 EST
*** Bug 516038 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Genie CLA 2023-05-13 05:22:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.