hg: jdk8/tl/jdk: 6206780: (str) Forwarding append methods in String{Buffer, Builder} are inconsistent

mike.duigou at oracle.com mike.duigou at oracle.com
Mon Oct 29 16:55:13 PDT 2012


Changeset: e2f976a73afb
Author:    jgish
Date:      2012-10-29 16:51 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e2f976a73afb

6206780: (str) Forwarding append methods in String{Buffer,Builder} are inconsistent
Summary: update StringBuilder & StringBuffer to consistently handle forwarding to AbstractStringBuilder. Some additional cleanup (removal of refs to sub-classes from AbstractStringBuilder)
Reviewed-by: chegar, alanb, mduigou

! src/share/classes/java/lang/AbstractStringBuilder.java
! src/share/classes/java/lang/StringBuffer.java
! src/share/classes/java/lang/StringBuilder.java
+ test/java/lang/StringBuffer/AppendStringBuilder.java
+ test/java/lang/StringBuffer/BufferForwarding.java
+ test/java/lang/StringBuffer/TestSynchronization.java
+ test/java/lang/StringBuilder/AppendStringBuffer.java
+ test/java/lang/StringBuilder/BuilderForwarding.java



More information about the serviceability-dev mailing list