changeset 1634 | 3871c2046043 |
parent 1247 | b4c26443dee5 |
child 2593 | 76032557be03 |
--- a/jdk/src/share/classes/java/nio/Heap-X-Buffer.java Tue Nov 25 10:09:26 2008 -0800 +++ b/jdk/src/share/classes/java/nio/Heap-X-Buffer.java Tue Nov 25 19:26:54 2008 +0000 @@ -222,6 +222,7 @@ System.arraycopy(hb, ix(position()), hb, ix(0), remaining()); position(remaining()); limit(capacity()); + discardMark(); return this; #else[rw] throw new ReadOnlyBufferException();