Javac crashes when SAM converting method reference

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Nov 15 04:43:55 PST 2011


On 15/11/11 12:03, Tomasz Kowalczewski wrote:
> import java.util.concurrent.Callable;
>
> public class IntOrInteger {
> 	public static int returnOne() {
> 		return 1;
> 	}
>
> 	public static void main(String[] args) {
> 		Callable<Integer>  callable = IntOrInteger#returnOne;
> 	}
> }
Thanks for the report. We are working on setting up infrastructure so 
that we can start keeping track of lambda-related bugs - in the meantime 
please use emails (as you did).

Maurizio


More information about the lambda-dev mailing list