hg: jdk7/tl/jdk: 7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[])

xueming.shen at oracle.com xueming.shen at oracle.com
Mon May 2 11:38:30 PDT 2011


Changeset: fa17f2b9a6d5
Author:    sherman
Date:      2011-05-02 11:42 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/fa17f2b9a6d5

7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[])
Summary: implement sun.nio.cs.ArrayEn/Decoer in utf8
Reviewed-by: alanb

! src/share/classes/java/lang/StringCoding.java
! src/share/classes/java/util/zip/ZipCoder.java
! src/share/classes/sun/nio/cs/UTF_8.java
+ test/sun/nio/cs/StrCodingBenchmarkUTF8.java
! test/sun/nio/cs/TestStringCoding.java
+ test/sun/nio/cs/TestStringCodingUTF8.java
! test/sun/nio/cs/TestUTF8.java




More information about the security-dev mailing list