[security-dev 00432]: hg: jdk7/tl/jdk: 6593946: (bf) X-Buffer.compact() does not discard mark as specified
alan.bateman at sun.com
alan.bateman at sun.com
Tue Nov 25 19:33:07 UTC 2008
Changeset: b7c47f49a53d
Author: alanb
Date: 2008-11-25 19:26 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b7c47f49a53d
6593946: (bf) X-Buffer.compact() does not discard mark as specified
Summary: InvalidMarkException now correctly thrown. Thanks to keiths at redhat.com for the bug report and initial fix.
Reviewed-by: sherman, darcy
! src/share/classes/java/nio/Buffer.java
! src/share/classes/java/nio/ByteBufferAs-X-Buffer.java
! src/share/classes/java/nio/Direct-X-Buffer.java
! src/share/classes/java/nio/Heap-X-Buffer.java
! test/java/nio/Buffer/Basic-X.java
! 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
! test/java/nio/Buffer/genBasic.sh
More information about the security-dev
mailing list