The JVMTI spec version for JDK 12 is set to majorversion ="11": https://java.se.oracle.com/source/xref/jdk-jdk12/open/src/hotspot/share/prims/jvmti.xml
This is by design as we're not bumping the JVMTI version unless there are spec changes for that release. We should investigate the feasibility of syncing the JVMTI version with the JDK version regardless of whether or not spec changes have occured in that release. This should also include making sure it gets automatically set by the build system so that no manual updates are needed for each release.
We should investigate just calling it "version" instead of "major" to align it with the rest of the JDK
We should also investigate making the same change to other Serviceability specs (JDI, java.lang.instrument, etc.) for consistency.
This is by design as we're not bumping the JVMTI version unless there are spec changes for that release. We should investigate the feasibility of syncing the JVMTI version with the JDK version regardless of whether or not spec changes have occured in that release. This should also include making sure it gets automatically set by the build system so that no manual updates are needed for each release.
We should investigate just calling it "version" instead of "major" to align it with the rest of the JDK
We should also investigate making the same change to other Serviceability specs (JDI, java.lang.instrument, etc.) for consistency.
- relates to
-
JDK-8233943 get_jvmti_interface directly references Abstract_VM_Version
- Closed