Description
This program crashes javac:
class Foo<X> { }
class Test {
<Z> void test() {
String s = new Foo<Z>() { };
}
}
Failure is in the diagnostic subsystem - when generating 'where' clauses.
class Foo<X> { }
class Test {
<Z> void test() {
String s = new Foo<Z>() { };
}
}
Failure is in the diagnostic subsystem - when generating 'where' clauses.
Attachments
Issue Links
- duplicates
-
JDK-8010387 Javac crashes when diagnostic mentions anonymous inner class' type variables
- Closed