Type inference of non-existent method references crashes the compiler
Victor Williams Stafusa da Silva
victorwssilva at gmail.com
Wed Apr 23 03:57:49 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140423/700605f0/attachment-0001.html>
More information about the compiler-dev
mailing list