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:
Zhengyu Gu 2010-09-17 09:45:32 -04:00
parent b9760f8836
commit f9eb9cccb9
2 changed files with 3 additions and 2 deletions

View file

@ -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
}