hg: jdk8/tl/jdk: 7190219: (bf) CharBuffer.put(String, int, int) modifies position even if BufferOverflowException thrown

luchsh at linux.vnet.ibm.com luchsh at linux.vnet.ibm.com
Mon Aug 13 11:52:47 UTC 2012


Changeset: bf0c6f91bc22
Author:    luchsh
Date:      2012-08-13 19:51 +0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bf0c6f91bc22

7190219: (bf) CharBuffer.put(String,int,int) modifies position even if BufferOverflowException thrown
Reviewed-by: alanb

! src/share/classes/java/nio/X-Buffer.java.template
! test/java/nio/Buffer/Basic-X.java.template
! test/java/nio/Buffer/Basic.java
! test/java/nio/Buffer/BasicByte.java
! test/java/nio/Buffer/BasicChar.java
! test/java/nio/Buffer/BasicDouble.java
! test/java/nio/Buffer/BasicFloat.java
! test/java/nio/Buffer/BasicInt.java
! test/java/nio/Buffer/BasicLong.java
! test/java/nio/Buffer/BasicShort.java




More information about the core-libs-dev mailing list