JDK-8187302 : [Nestmates] Prepare for classfile version 54 and javac "release" update
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: repo-valhalla
  • Priority: P3
  • Status: Resolved
  • Resolution: Future Project
  • Submitted: 2017-09-07
  • Updated: 2017-09-15
  • Resolved: 2017-09-15
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.
Other
repo-valhallaResolved
Related Reports
Cloners :  
Relates :  
Description
The nestmate changes update the JVMS and require an increment in the class file version number. The tasks here are based on those previously listed for the change to v53: JDK-8148651.

We also look at the changes needed to javac to add a new "release".

Filed in tools->javac though it will cover a range of activities across tools, build and the VM.

This is a valhalla clone of the mainline subtask: JDK-8187296

After investigating the state of javac's --release flag it is considered out of scope to update this, and we will instead simply update the -source/-target support to trigger use of classfile version 54, and the new code generation approaches used by nestmates.
Comments
Deferring this at this time as it is more complicated than anticipated, and having done a lot of the changes without encountering any significant issues building with the new nestmate support, I can opt for the simpler approach of just turning nestmates on by default using the existing JDK 10 release and classfile version 53. When the final version updates are complete we can use this issue to do the switchover in the nestmate logic.
15-09-2017