JDK-7020626 : diamond: add diagnostic test for diamond and non-generic classes
Type:Bug
Component:tools
Sub-Component:javac
Affected Version:7
Priority:P2
Status:Closed
Resolution:Fixed
OS:generic
CPU:unknown
Submitted:2011-02-18
Updated:2011-03-08
Resolved:2011-03-08
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.
We should have a diagnostic test for diamond vs. non-generic classes in test/tools/javac/diags/examples - a regression test is failing because of that.
Comments
SUGGESTED FIX
A webrev of this fix is available at the following URL:
http://hg.openjdk.java.net/jdk7/tl/langtools/rev/51e643f41a3a