hg: jdk8/tl/jdk: 2 new changesets

mike.duigou at oracle.com mike.duigou at oracle.com
Thu Nov 29 22:10:50 UTC 2012

Changeset: bf6ceb6b8f80
Author:    mduigou
Date:      2012-11-29 14:07 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bf6ceb6b8f80

7175464: entrySetView field is never updated in NavigableSubMap
Summary: The method entrySet() in AscendingSubMap and DescendingSubMap failed to cache the entrySetView.
Reviewed-by: alanb, psandoz

! src/share/classes/java/util/TreeMap.java

Changeset: 75cb07a7b622
Author:    mduigou
Date:      2012-11-29 14:09 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/75cb07a7b622

6553074: String{Buffer,Builder}.indexOf(Str, int) contains unnecessary allocation
Summary: It is not necessary to extract the value array with toCharArray. The value array can now be used directly.
Reviewed-by: alanb

! src/share/classes/java/lang/AbstractStringBuilder.java
! src/share/classes/java/lang/String.java

More information about the core-libs-dev mailing list