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

Bug 486710

Summary: [1.8] issue with Open Declared Type for lambda parameter with recovery
Product: [Eclipse Project] JDT Reporter: Manoj N Palat <manoj.palat>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, noopur_gupta, sasikanth.bharadwaj, stephan.herrmann
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Manoj N Palat CLA 2016-01-28 05:16:49 EST
followup of bug 479963 comment 9

As of Build id: I20160127-2000 the issue exists.

import java.util.function.Consumer;
import java.util.function.Supplier;

class X1 {
	Supplier<Consumer<String>> c = new Supplier<Consumer<String>>() {
		@Override
		public Consumer<String> get() {
			return item -> System.out.println(item);
		}
		
	};
	{
		"a".eq;
	}

}
Comment 1 Eclipse Genie CLA 2019-01-23 11:53:17 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.
Comment 2 Stephan Herrmann CLA 2019-01-23 12:19:39 EST
Frankly, from comment 0 I don't understand what this bug is about.

Also looking at bug 479963 comment 9 doensn't immediately help.

@Manoj? @Noopur? Can you provide more context? What is the bug here?
Comment 3 Manoj N Palat CLA 2019-01-23 21:15:42 EST
(In reply to Stephan Herrmann from comment #2)
> Frankly, from comment 0 I don't understand what this bug is about.
> 
> Also looking at bug 479963 comment 9 doensn't immediately help.
> 
> @Manoj? @Noopur? Can you provide more context? What is the bug here?

@Stephan: Please click F3 or Ctrl-Click [windows] to open the declaration of "item" in "return item -> S". This does not bring up the declaration. [expected to bring up the String declaration]