JDK-8001112 : Make -target 8 in javac generate version 52.0 classfile
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-10-18
  • Updated: 2017-05-17
  • Resolved: 2012-11-06
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
8 b65Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
When -source 8 and -target 8 were added to javac (JDK-7025786), they were just aliases for -source/target 7 and in particular -target 8 generated the same version 51.0 class files as -target 7.

As soon as version 52.0 class files are supported in HotSpot (JDK-7054340), javac should change the meaning of -target 8 to generate version 52.0 class files.