mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
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:
parent
4fe37df932
commit
794d864feb
12 changed files with 27 additions and 42 deletions
|
@ -163,7 +163,7 @@ static const char* get_jimage_version_string() {
|
|||
static char version_string[10] = "";
|
||||
if (version_string[0] == '\0') {
|
||||
jio_snprintf(version_string, sizeof(version_string), "%d.%d",
|
||||
Abstract_VM_Version::vm_major_version(), Abstract_VM_Version::vm_minor_version());
|
||||
VM_Version::vm_major_version(), VM_Version::vm_minor_version());
|
||||
}
|
||||
return (const char*)version_string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue