hg: jdk7/tl/jdk: 10 new changesets

martinrb at google.com martinrb at google.com
Wed Jun 30 17:59:06 PDT 2010


Changeset: 4436a3e97a9b
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4436a3e97a9b

6934268: Better implementation of Character.isValidCodePoint
Summary: Use the cleverest possible bit-twiddling micro-optimizations
Reviewed-by: sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/Character.java

Changeset: 1776791f4fb9
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/1776791f4fb9

6934265: Add public method Character.isBmpCodePoint
Summary: Move isBmpCodePoint from sun.nio.cs.Surrogate to Character
Reviewed-by: sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/AbstractStringBuilder.java
! src/share/classes/java/lang/Character.java
! src/share/classes/java/lang/String.java
! src/share/classes/sun/io/CharToByteDBCS_ASCII.java
! src/share/classes/sun/io/CharToByteDBCS_EBCDIC.java
! src/share/classes/sun/nio/cs/Surrogate.java
! src/share/classes/sun/nio/cs/UTF_32Coder.java
! src/share/classes/sun/nio/cs/UTF_8.java
! src/share/classes/sun/nio/cs/ext/EUC_TW.java
! src/share/classes/sun/nio/cs/ext/GB18030.java
! src/share/classes/sun/nio/cs/ext/IBM33722.java
! src/share/classes/sun/nio/cs/ext/IBM964.java
! test/java/nio/charset/coders/BashStreams.java
- test/java/nio/charset/coders/Surrogate.java
! test/java/nio/charset/coders/Surrogates.java

Changeset: 5503dbb2e6cc
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5503dbb2e6cc

6937112: String.lastIndexOf confused by unpaired trailing surrogate
Summary: Rewrite lastIndexOf for performance and correctness
Reviewed-by: sherman
Contributed-by: Reviewed by Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/String.java
! test/java/lang/String/Supplementary.java
! test/java/lang/StringBuffer/Supplementary.java
! test/java/lang/StringBuilder/Supplementary.java

Changeset: 5e9daa8fd04a
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5e9daa8fd04a

6940381: Wording improvements for String.indexOf, String.lastIndexOf
Summary: Make wording of javadoc clearer and more consistent
Reviewed-by: sherman

! src/share/classes/java/lang/String.java

Changeset: 0d2bff3b2ca6
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0d2bff3b2ca6

6963749: Minor improvements to Character.UnicodeBlock
Summary: Fix surrogate area docs; make source more readable
Reviewed-by: okutsu, sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/Character.java

Changeset: 4f1b4e3c6d1b
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4f1b4e3c6d1b

6934270: Remove javac warnings from Character.java
Summary: Use generics and conform to coding style
Reviewed-by: sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/Character.java

Changeset: 98186c162c1e
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/98186c162c1e

6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Summary: Add public variants of methods Surrogate.high, Surrogate.low
Reviewed-by: okutsu, sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/lang/Character.java
! src/share/classes/java/lang/String.java
! src/share/classes/sun/nio/cs/Surrogate.java
! src/share/classes/sun/nio/cs/UTF_32Coder.java
! src/share/classes/sun/nio/cs/UTF_8.java
! src/share/classes/sun/nio/cs/UnicodeEncoder.java
! src/share/classes/sun/nio/cs/ext/EUC_TW.java
! test/java/nio/charset/coders/BashStreams.java

Changeset: 838a21b99591
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/838a21b99591

6934271: Better handling of longer utf-8 sequences
Summary: Various cleanups, including clever bit-twiddling
Reviewed-by: sherman

! src/share/classes/sun/nio/cs/UTF_8.java

Changeset: 9c80da212eaf
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/9c80da212eaf

6935172: Optimize bit-twiddling in Bits.java
Summary: Transformations to reduce size of bytecode
Reviewed-by: sherman
Contributed-by: Based on an idea by Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/io/Bits.java

Changeset: ce0ba8da0bd1
Author:    martin
Date:      2010-06-30 16:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ce0ba8da0bd1

6940258: (bf) Use intrinsified reverseBytes operation; elide no-op constructs
Reviewed-by: alanb, sherman
Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

! src/share/classes/java/nio/Bits.java




More information about the security-dev mailing list