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

Bug 476367

Summary: Auto-complete fails to insert static method reference
Product: [Eclipse Project] JDT Reporter: Bill Chen <billc.cn>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: noopur_gupta
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Bill Chen CLA 2015-09-01 12:47:51 EDT
Test case:

    static void x(Function<?, ?> x) {
        x(Function::);
    }

If you Ctrl-Space after the ::, the list pops up, but selecting any function name does not cause code to be inserted. There's no error message either.

Could be related to Bug 443932. The bug sometimes also affect instance method references, but I have not figured out how to reproduce that.
Comment 1 Noopur Gupta CLA 2015-09-02 02:05:44 EDT
This used to work in 4.4.2.
Moving to JDT/Core for analysis.
Comment 2 Eclipse Genie CLA 2020-04-15 02:51:20 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.