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

Bug 511944

Summary: Update org.eclipse.core.databinding.property to Java 1.8
Product: [Eclipse Project] Platform Reporter: Fabian Pfaff <fabian.pfaff>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jens, Lars.Vogel
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Fabian Pfaff CLA 2017-02-08 17:43:36 EST
CleanUp action "Use lambda where possible" fails because it thinks the project isn't a Java 1.8 project.
From my first look the project seems to be configured for Java 1.8 so maybe this could be a bug in the precondition check of the CleanUp?
Comment 1 Jens Lideström CLA 2019-06-20 09:17:12 EDT
I think this ticket can be closed as WORKS_FOR_ME.

I tried this with the following Eclipse version:

Eclipse IDE for Eclipse Committers
Version: 2019-06 M1 (4.12.0M1)
Build id: 20190418-1421

I used the following setting:
Update org.eclipse.core.databinding.property > Properties > Save Actions > Additional Actions > Configure... > Code Style > Functional interfaces instances > Use lambda where possible.

A anonymous class creation expression was correctly converted to a lambda when a save a file.