JDK-7054340 : Support version 52.0 class files in langtools
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-14
  • Updated: 2017-05-16
  • Resolved: 2012-10-22
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 8
8Resolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
As initially added to javac, -target 8 is just a synonym for -target 7; a version 51.0 class file results in both cases (7025786).  As a new version 52.0 class file format distinct from version 51.0 is defined, the javac compiler and related langtools programs and APIs need to updated to support version 52 class files.  This includes having javac's -target 8 output version 52 files files.

Comments
JSR 308 makes the following additions to the ClassFile structure for version 52.0 and higher: http://types.cs.washington.edu/jsr308/specification/java-annotation-design.html#class-file.
08-10-2012