Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 1800:728a287f6c20
6981753: Rebrand vm vendor property settings
Summary: Uses JDK_Version to determinate to set vm vendor to "Oracle Corporation" for JDK7 and later.
Reviewed-by: kamg, ohair, coleenp
author | zgu |
---|---|
date | Fri, 17 Sep 2010 09:45:32 -0400 |
parents | 40d7b43b6fe0 |
children | a25394352030 |
comparison
equal
deleted
inserted
replaced
1776:8a8a7a014a12 | 1800:728a287f6c20 |
---|---|
119 | 119 |
120 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.version", "1.0", false)); | 120 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.version", "1.0", false)); |
121 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.name", | 121 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.name", |
122 "Java Virtual Machine Specification", false)); | 122 "Java Virtual Machine Specification", false)); |
123 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.vendor", | 123 PropertyList_add(&_system_properties, new SystemProperty("java.vm.specification.vendor", |
124 "Sun Microsystems Inc.", false)); | 124 JDK_Version::is_gte_jdk17x_version() ? "Oracle Corporation" : "Sun Microsystems Inc.", false)); |
125 PropertyList_add(&_system_properties, new SystemProperty("java.vm.version", VM_Version::vm_release(), false)); | 125 PropertyList_add(&_system_properties, new SystemProperty("java.vm.version", VM_Version::vm_release(), false)); |
126 PropertyList_add(&_system_properties, new SystemProperty("java.vm.name", VM_Version::vm_name(), false)); | 126 PropertyList_add(&_system_properties, new SystemProperty("java.vm.name", VM_Version::vm_name(), false)); |
127 PropertyList_add(&_system_properties, new SystemProperty("java.vm.vendor", VM_Version::vm_vendor(), false)); | 127 PropertyList_add(&_system_properties, new SystemProperty("java.vm.vendor", VM_Version::vm_vendor(), false)); |
128 PropertyList_add(&_system_properties, new SystemProperty("java.vm.info", VM_Version::vm_info_string(), true)); | 128 PropertyList_add(&_system_properties, new SystemProperty("java.vm.info", VM_Version::vm_info_string(), true)); |
129 | 129 |