JDK-8008736 : Javac crash when type-variable referenced from anonymous inner class
Type:Bug
Component:tools
Sub-Component:javac
Affected Version:8,8-repo-lambda
Priority:P3
Status:Closed
Resolution:Duplicate
Submitted:2013-02-22
Updated:2013-04-26
Resolved:2013-04-26
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
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.