jdk/src/java.base/share/classes/java/lang/StringBuilder.java
changeset 34517 c6e795a80c80
parent 33663 2cd62a4bd471
--- a/jdk/src/java.base/share/classes/java/lang/StringBuilder.java	Mon Nov 23 11:07:36 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/lang/StringBuilder.java	Fri Nov 27 09:37:33 2015 +0100
@@ -413,7 +413,7 @@
     public String toString() {
         // Create a copy, don't share the array
         return isLatin1() ? StringLatin1.newString(value, 0, count)
-                          : StringUTF16.newStringSB(value, 0, count);
+                          : StringUTF16.newString(value, 0, count);
     }
 
     /**