7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works

Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.

Reviewed-by: coleenp, kbarrett, dholmes
This commit is contained in:
Harold Seigel 2018-10-16 11:08:46 -04:00
parent 4fe37df932
commit 794d864feb
12 changed files with 27 additions and 42 deletions

View file

@ -3736,8 +3736,8 @@ JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t i
{
memset(info, 0, info_size);
info->jvm_version = Abstract_VM_Version::jvm_version();
info->patch_version = Abstract_VM_Version::vm_patch_version();
info->jvm_version = VM_Version::jvm_version();
info->patch_version = VM_Version::vm_patch_version();
// when we add a new capability in the jvm_version_info struct, we should also
// consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat