hg: jdk8/tl/jdk: 8001750: CharsetDecoder.replacement should not be changeable except via replaceWith method
xueming.shen at oracle.com
xueming.shen at oracle.com
Tue May 28 17:45:00 UTC 2013
Changeset: 7fa2d1dcb8f6
Author: sherman
Date: 2013-05-28 10:42 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7fa2d1dcb8f6
8001750: CharsetDecoder.replacement should not be changeable except via replaceWith method
Summary: to make defensive copy for set/get replacement byte array
Reviewed-by: martin
! src/share/classes/java/nio/charset/Charset-X-Coder.java.template
! src/share/classes/sun/nio/cs/UTF_8.java
! src/share/classes/sun/nio/cs/ext/DoubleByte.java
! src/share/classes/sun/nio/cs/ext/HKSCS.java
More information about the security-dev
mailing list