--- a/src/java.base/share/classes/java/lang/System.java Fri Nov 09 10:15:43 2018 -0800
+++ b/src/java.base/share/classes/java/lang/System.java Fri Nov 09 13:28:16 2018 -0500
@@ -802,6 +802,7 @@
if (props == null) {
props = new Properties();
initProperties(props);
+ VersionProps.init(props);
}
System.props = props;
}
@@ -1973,6 +1974,7 @@
// be put into it directly.
props = new Properties(84);
initProperties(props); // initialized by the VM
+ VersionProps.init(props);
// There are certain system configurations that may be controlled by
// VM options such as the maximum amount of direct memory and
@@ -1992,7 +1994,6 @@
lineSeparator = props.getProperty("line.separator");
StaticProperty.javaHome(); // Load StaticProperty to cache the property values
- VersionProps.init();
FileInputStream fdIn = new FileInputStream(FileDescriptor.in);
FileOutputStream fdOut = new FileOutputStream(FileDescriptor.out);