equal
deleted
inserted
replaced
226 enum { bufsz = 16 }; |
226 enum { bufsz = 16 }; |
227 char buffer[bufsz]; |
227 char buffer[bufsz]; |
228 const char* spec_vendor = "Oracle Corporation"; |
228 const char* spec_vendor = "Oracle Corporation"; |
229 uint32_t spec_version = JDK_Version::current().major_version(); |
229 uint32_t spec_version = JDK_Version::current().major_version(); |
230 |
230 |
231 jio_snprintf(buffer, bufsz, "1." UINT32_FORMAT, spec_version); |
231 jio_snprintf(buffer, bufsz, UINT32_FORMAT, spec_version); |
232 |
232 |
233 PropertyList_add(&_system_properties, |
233 PropertyList_add(&_system_properties, |
234 new SystemProperty("java.vm.specification.vendor", spec_vendor, false)); |
234 new SystemProperty("java.vm.specification.vendor", spec_vendor, false)); |
235 PropertyList_add(&_system_properties, |
235 PropertyList_add(&_system_properties, |
236 new SystemProperty("java.vm.specification.version", buffer, false)); |
236 new SystemProperty("java.vm.specification.version", buffer, false)); |