JDK-8235513 : Change JVM to check for preview features using JVM_CLASSFILE_MAJOR_VERSION
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-06
  • Updated: 2019-12-17
  • Resolved: 2019-12-10
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 14
14 b27Fixed
Related Reports
Relates :  
Description
Currently, the JVM checks that class files using preview features have class file version 58.65535.  Instead, it should check for JVM_CLASSFILE_MAJOR_VERSION.65535 because the class file must be the latest class file version.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/819be120e63d User: hseigel Date: 2019-12-10 15:00:22 +0000
10-12-2019