[security-dev 00711]: hg: jdk7/tl/jdk: 2 new changesets

xueming.shen at sun.com xueming.shen at sun.com
Mon Mar 23 09:39:58 PDT 2009


Changeset: 4faf788c4949
Author:    sherman
Date:      2009-03-23 09:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4faf788c4949

6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)
Summary: optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.
Reviewed-by: alanb

! make/java/nio/FILES_java.gmk
! src/share/classes/java/lang/StringCoding.java
+ src/share/classes/sun/nio/cs/ArrayDecoder.java
+ src/share/classes/sun/nio/cs/ArrayEncoder.java
! src/share/classes/sun/nio/cs/ISO_8859_1.java
! src/share/classes/sun/nio/cs/SingleByte.java
! src/share/classes/sun/nio/cs/US_ASCII.java
! test/sun/nio/cs/FindEncoderBugs.java
+ test/sun/nio/cs/StrCodingBenchmark.java
+ test/sun/nio/cs/TestStringCoding.java

Changeset: b9cc5da6c516
Author:    sherman
Date:      2009-03-23 09:34 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b9cc5da6c516

Merge





More information about the security-dev mailing list