mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8085822: JEP 223: New Version-String Scheme (initial integration)
Co-authored-by: Alejandro E Murillo <alejandro.murillo@oracle.com> Reviewed-by: erikj, dcubed, dholmes, alanb
This commit is contained in:
parent
63dc40184a
commit
bd5a1079fe
37 changed files with 577 additions and 790 deletions
|
@ -220,12 +220,11 @@ void Arguments::init_system_properties() {
|
|||
void Arguments::init_version_specific_system_properties() {
|
||||
enum { bufsz = 16 };
|
||||
char buffer[bufsz];
|
||||
const char* spec_vendor = "Sun Microsystems Inc.";
|
||||
uint32_t spec_version = 0;
|
||||
const char* spec_vendor = "Oracle Corporation";
|
||||
uint32_t spec_version_major = 0;
|
||||
|
||||
spec_vendor = "Oracle Corporation";
|
||||
spec_version = JDK_Version::current().major_version();
|
||||
jio_snprintf(buffer, bufsz, "1." UINT32_FORMAT, spec_version);
|
||||
spec_version_major = JDK_Version::current().major_version();
|
||||
jio_snprintf(buffer, bufsz, UINT32_FORMAT, spec_version_major);
|
||||
|
||||
PropertyList_add(&_system_properties,
|
||||
new SystemProperty("java.vm.specification.vendor", spec_vendor, false));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue