Bug 461455 - [1.8][refactoring] Java 8 migration support more for looping
Summary: [1.8][refactoring] Java 8 migration support more for looping
Status: CLOSED DUPLICATE of bug 431967
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-04 20:13 EST by Vernon Wu CLA
Modified: 2015-03-05 03:46 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vernon Wu CLA 2015-03-04 20:13:43 EST
The Eclipse 4.4.2 doesn't support converting a loop into a Lambda expression. For example, when I hover over a collection in the following loop, there isn't a Lambda expression conversation menu item other than "Extract to local variable ..."

	for (ProductImageVersion version : versions.values()) {
			version.process(sourceImage, outputDirectory, relatedPath);
		}

In a comparison, NetBeans has a much strong Java 8 migration support. It can handle this migration.
Comment 1 Manoj N Palat CLA 2015-03-04 20:25:05 EST
moving to jdt.ui for comments
Comment 2 Noopur Gupta CLA 2015-03-05 03:46:53 EST

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