Open a bug for compiler crash

Remi Forax forax at univ-mlv.fr
Wed Oct 2 03:43:22 PDT 2013


On 10/02/2013 12:26 PM, Tristan Yan wrote:
> https://bugs.openjdk.java.net/browse/JDK-8025816
>
> Thank you

It doesn't crash, it throws a NPE.

A possible workaround is to correctly declare m2:
   public default <T extends Comparable<T>> void m2(Collection<T> c) {

Rémi

>
>   
>
> Tristan Yan(Haibo Yan)
>
> Office : 8610-61066212
>
> Fax  : 8610-61065441
>
> Cell  : 86-18610696822
>
>   
>
> 2F, Building No. 24, Zhongguancun Software Park
>
> Haidian District HYPERLINK "http://people.us.oracle.com/pls/oracle/f?p=8000:6:396067987304343:::6:P6_CITY:Beijing"Beijing , 100193
>
> oracle
>
>   
>
>



More information about the lambda-dev mailing list