JDK-8044455 : Javac should issue a warning for int @A [].class
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-05-30
  • Updated: 2014-06-16
  • Resolved: 2014-06-16
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.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
Javac currently enforces the rule that .class expressions cannot be annotated in the parser; as such, it will not issue a warning for int @A [].class.

This needs to be changed.
Comments
Duplicate of JDK-8027888
16-06-2014