JDK-8148785 : Update class file version to 53 for JDK-9
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-02-01
  • Updated: 2016-03-03
  • Resolved: 2016-02-05
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
9 b107Fixed
Description
Some of the reasons for updating the class file version:

1. Unicode 8.0 -- Interpretation of Unicode escapes in string literals depends at run time on the SE 9 API. (Due to Unicode 8.0 assigning more code points, a program containing Unicode escapes "means something different" on SE 9 versus SE 8, so compiling it with -source 9 must imply -target 9, and hence v53.0 class files.)

2. Implementation of the String + operator depends at run time on the SE 9 API.

3. Invocation of VarHandle methods depends at run time on the SE 9 API.

4. New 'Module' attribute for class files.