Type inference of non-existent method references crashes the compiler

Vicente-Arturo Romero-Zaldivar vicente.romero at oracle.com
Tue May 6 15:41:41 UTC 2014


Hi Victor,

Thanks for the report. I'm looking at it,

Vicente

On 23/04/14 04:57, Victor Williams Stafusa da Silva wrote:
> Hi.
> I just created a new bug report titled "Type inference of non-existent 
> method references crashes the compiler"
>
> Basically, the following code crashes the compiler (1.8.0_05) with a 
> NullPointerException:
>
> class TestBug<T> {
>     static TestBug<String> bug() {
>         return new TestBug<>(TestBug::doNotExists);
>     }
> }
>
> I am new to this discussion list and just want to know if somebody 
> already saw that bug before.
>
> Victor Williams Stafusa da Silva



More information about the compiler-dev mailing list