mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8189319: Add a java.util.Properties constructor that takes an initial capacity
Reviewed-by: martin, mchung, rriggs
This commit is contained in:
parent
56eea64225
commit
f32470d85f
3 changed files with 72 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue