aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/lang/System.java
diff options
context:
space:
mode:
authorBrent Christian <bchristi@openjdk.org>2017-10-30 16:16:01 -0700
committerBrent Christian <bchristi@openjdk.org>2017-10-30 16:16:01 -0700
commitf32470d85f01afd74479a130504f7fe8b2638191 (patch)
tree026cc611151124a299a7584d3d108d0731f73c04 /src/java.base/share/classes/java/lang/System.java
parent56eea6422542104832a3224d2398e7e97e85840c (diff)
downloadopenjdk-f32470d85f01afd74479a130504f7fe8b2638191.tar.gz
openjdk-f32470d85f01afd74479a130504f7fe8b2638191.zip
8189319: Add a java.util.Properties constructor that takes an initial capacity
Reviewed-by: martin, mchung, rriggs
Diffstat (limited to 'src/java.base/share/classes/java/lang/System.java')
-rw-r--r--src/java.base/share/classes/java/lang/System.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java.base/share/classes/java/lang/System.java b/src/java.base/share/classes/java/lang/System.java
index 8388dce7562..86ec3c5cad3 100644
--- a/src/java.base/share/classes/java/lang/System.java
+++ b/src/java.base/share/classes/java/lang/System.java
@@ -1937,7 +1937,7 @@ public final class System {
// initialization. So make sure the "props" is available at the
// very beginning of the initialization and all system properties to
// be put into it directly.
- props = new Properties();
+ props = new Properties(84);
initProperties(props); // initialized by the VM
// There are certain system configurations that may be controlled by