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 - Upgrade the compiler for lambda b76 @ jdk8lambda
Summary: Upgrade the compiler for lambda b76 @ jdk8lambda
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 14:14 UTC by misterm
Modified: 2013-02-20 14:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.