This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226063

Summary: Upgrade the compiler for lambda b76 @ jdk8lambda
Product: java Reporter: misterm <misterm>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: janario, jlahoda
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description misterm 2013-02-13 14:14:12 UTC
One of the most important improvements in b76 is the improved inference that allows expressions such as:

Collection<String> strings = myCollection.parallelStream().map(Functions.string()).collect(toList());

to compile without requiring Collectors.<String>toList() to be used explicitly. The current compiler shipped in the editor does not contain such improvements yet, making it hard to use lambda.

Product Version = NetBeans IDE Dev (Build jdk8lambda-1641-on-20130208)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0-ea
Runtime = OpenJDK 64-Bit Server VM 25.0-b15
Comment 1 Dusan Balek 2013-02-20 14:18:38 UTC
Should be fixed in current dev build.