Round 2 feedback

Maurizio Cimadamore maurizio.cimadamore at
Tue Feb 12 04:25:37 PST 2013

On 10/02/13 00:34, Michael Nascimento wrote:
> - At least here, even simple transformations such as
> myCollection.parallelStream().map(Functions.string()).collect(Collectors.<String>toList())
> requires the explicit types;
b76 contains the very latest inference changes that went in lambda 
repository; so I would expect most of the inference failures to be gone 
(modulo bugs of course).

This program compiles from me (using b76):

import java.util.*;
import java.util.function.*;

class Test {
     void test(Collection<Integer> myCollection) {

What is the type of your variable called 'myCollection' ? Is it possible 
we are missing something here?


More information about the lambda-dev mailing list