JvmtiExport::get_jvmti_interface calls Abstract_VM_Version::vm_major_version(). Clients of the VM_Version API should always use VM_Version, never Abstract_VM_Version, to permit overriding (as discussed in JDK-7041262).
Reference was introduced byJDK-8219023. This may not matter in this specific case, but code cleanliness matters.
Reference was introduced by
- duplicates
-
JDK-8202579 Revisit VM_Version and VM_Version_ext for overlap and consolidation
- Resolved
- relates to
-
JDK-8219023 Sync JVMTI, JDI, and JDWP spec versions with JDK version
- Resolved
-
JDK-7041262 VM_Version should be called instead of Abstract_VM_Version so that overriding works
- Resolved