mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6981753: Rebrand vm vendor property settings
Uses JDK_Version to determinate to set vm vendor to "Oracle Corporation" for JDK7 and later. Reviewed-by: kamg, ohair, coleenp
This commit is contained in:
parent
b9760f8836
commit
f9eb9cccb9
2 changed files with 3 additions and 2 deletions
|
@ -121,7 +121,8 @@ const char* Abstract_VM_Version::vm_vendor() {
|
|||
#ifdef VENDOR
|
||||
return XSTR(VENDOR);
|
||||
#else
|
||||
return "Sun Microsystems Inc.";
|
||||
return JDK_Version::is_gte_jdk17x_version() ?
|
||||
"Oracle Corporation" : "Sun Microsystems Inc.";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue