hg: jdk8u/jdk8u-dev/jdk: 8149330: Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
ivan.gerasimov at oracle.com
ivan.gerasimov at oracle.com
Fri Mar 4 11:04:16 UTC 2016
Changeset: 21fd38547115
Author: igerasim
Date: 2016-03-04 14:03 +0300
URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/21fd38547115
8149330: Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
Reviewed-by: martin
! src/share/classes/java/lang/AbstractStringBuilder.java
! src/share/classes/java/lang/StringBuffer.java
+ test/java/lang/StringBuilder/Capacity.java
+ test/java/lang/StringBuilder/HugeCapacity.java
More information about the jdk8u-dev-changes
mailing list