hg: jdk7/tl/jdk: 6415373: (cs) UnicodeEncoder emits BOM when there are no bytes to encode

xueming.shen at oracle.com xueming.shen at oracle.com
Wed Dec 8 12:51:19 PST 2010


Changeset: 956de70712e0
Author:    sherman
Date:      2010-12-08 12:54 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/956de70712e0

6415373: (cs) UnicodeEncoder emits BOM when there are no bytes to encode
Summary: no BOM output if no byte to encode
Reviewed-by: alanb

! src/share/classes/sun/nio/cs/UTF_32Coder.java
! src/share/classes/sun/nio/cs/UnicodeEncoder.java
+ test/sun/nio/cs/EncodingNothing.java




More information about the security-dev mailing list