--- old/src/java.base/share/classes/jdk/internal/util/SystemProps.java 2018-12-05 16:37:20.606469882 -0500 +++ new/src/java.base/share/classes/jdk/internal/util/SystemProps.java 2018-12-05 16:37:20.438469049 -0500 @@ -153,16 +153,18 @@ String format) { // Do not override command line setting String baseValue = cmdProps.getProperty(base); - if (baseValue == null) { - // Not overridden on the command line; define the properties if there are platform defined values - baseValue = display; - } if (baseValue != null) { - cmdProps.put(base, baseValue); + return; // Do not override value from the command line + } + + // Not overridden on the command line; define the properties if there are platform defined values + if (display != null) { + cmdProps.put(base, display); + baseValue = display; } /* user.xxx.display property */ - String disp = base + ".display"; + String disp = base.concat(".display"); String dispValue = cmdProps.getProperty(disp); if (dispValue == null && display != null && !display.equals(baseValue)) { // Create the property only if different from the base property @@ -170,7 +172,7 @@ } /* user.xxx.format property */ - String fmt = base + ".format"; + String fmt = base.concat(".format"); String fmtValue = cmdProps.getProperty(fmt); if (fmtValue == null && format != null && !format.equals(baseValue)) { // Create the property only if different than the base property