Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 540332

Summary: [newindex][type hierarchy] New java index misses JDK types in type hierarchy
Product: [Eclipse Project] JDT Reporter: Helo Spark <helospark>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: gayanper, loskutov, mauromol
Version: 4.9   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Helo Spark CLA 2018-10-20 13:22:14 EDT
Repro
 - Start latest Eclipse with Java 10+
 - Check Preferences -> Java -> "Enable new Java index"
 - Open java.nio.ByteBuffer type (or other class from JDK)
 - Press F4 (to create type hierarchy)

Actual behaviour
 - Eclipse will show no type has extended ByteBuffer

Expected
 - It should identify types extending ByteBuffer (ex. java.nio.HeapByteBuffer, java.nio.MappedByteBuffer, etc., similarly as when "new Java index" is disabled)

Platform:
 - OS: tested on Windows and Linux
 - Eclipse: tested on Eclipse Photon and 2018-09
 - Java: tested on Java 10 and 11 (seems ok with Java 8)

Notes:
Most types in the JDK seem to be affected (ex. List, Set, etc.)
Comment 1 Andrey Loskutov CLA 2019-02-27 17:09:52 EST
*** Bug 544870 has been marked as a duplicate of this bug. ***
Comment 2 Eclipse Genie CLA 2022-04-15 08:40:07 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.
Comment 3 Mauro Molinari CLA 2022-04-15 08:42:05 EDT
I think the new Java index was removed from recent Eclipse versions, wasn't it?
Comment 4 Andrey Loskutov CLA 2022-04-15 08:48:02 EDT
(In reply to Mauro Molinari from comment #3)
> I think the new Java index was removed from recent Eclipse versions, wasn't
> it?

Right