Bug 526454 - [navigation] Open Declaration does not work on Collector.Characteristics
Summary: [navigation] Open Declaration does not work on Collector.Characteristics
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.7.1a   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-25 09:53 EDT by Lukas Eder CLA
Modified: 2022-11-07 04:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Eder CLA 2017-10-25 09:53:48 EDT
When browsing the sources of the JDK, e.g. JDK1.8.0_141, and going the following method in java.util.stream.Collector:


    public static<T, R> Collector<T, R, R> of(Supplier<R> supplier,
                                              BiConsumer<R, T> accumulator,
                                              BinaryOperator<R> combiner,
                                              Characteristics... characteristics) {


Then executing "Open Declaration" on Characteristics with any of:

- Ctrl+Click
- F3
- Context menu

... opens

- sun.jvm.hotspot.debugger.win32.coff.Characteristics in JDK 8
- nothing in JDK 9

It works for the other types of the method signature.
Comment 1 Sasikanth Bharadwaj CLA 2017-10-26 06:21:09 EDT
I don't see this working in 4.7 either. Didn't try earlier versions, but it may not have worked because member types do not seem to be looked up in this path. Need a little more investigation
Comment 2 Eclipse Genie CLA 2020-09-25 18:00:49 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 Eclipse Genie CLA 2022-11-07 04:45:16 EST
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.