hotspot/src/share/vm/runtime/arguments.cpp
changeset 33971 d67c7d278ecc
parent 32366 4b6a0ffabffe
parent 33968 2a017139daf3
child 33973 c6c0af1521f4
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Sep 11 10:26:29 2015 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Mon Sep 14 09:47:17 2015 -0700
@@ -220,12 +220,11 @@
 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;
-
-  spec_vendor = "Oracle Corporation";
-  spec_version = JDK_Version::current().major_version();
-  jio_snprintf(buffer, bufsz, "1." UINT32_FORMAT, spec_version);
+  const char* spec_vendor = "Oracle Corporation";
+  uint32_t spec_version_major = 0;
+
+  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));