jdk/src/share/classes/java/nio/StringCharBuffer.java
changeset 7275 608d2708ab12
parent 5506 202f599c92aa
child 7668 d4a77089c587
--- a/jdk/src/share/classes/java/nio/StringCharBuffer.java	Tue Nov 16 15:23:11 2010 +0000
+++ b/jdk/src/share/classes/java/nio/StringCharBuffer.java	Thu Nov 18 19:16:45 2010 +0000
@@ -47,7 +47,7 @@
                                     0,
                                     this.remaining(),
                                     this.remaining(),
-                                    this.position());
+                                    offset + this.position());
     }
 
     private StringCharBuffer(CharSequence s,