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

Bug 509504

Summary: [clean up] Clean Up -> Convert to lambda results in syntax errors
Product: [Eclipse Project] JDT Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, noopur_gupta
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lars Vogel CLA 2016-12-20 03:12:53 EST
To test, select the org.eclipse.ui.workbench plug-in from the eclipse.platform.ui project. 

Run Cleanup Actions, convert to lambda and you end up with several compile errors.
Comment 1 Dani Megert CLA 2016-12-20 03:28:22 EST
Please provide the code (before / after) here.

Dup of bug 421479?
Comment 2 Noopur Gupta CLA 2016-12-20 03:35:13 EST
The error that you get is: "Cannot reference a field before it is defined" which is bug 433535.

*** This bug has been marked as a duplicate of bug 433535 ***