hg: jdk7/tl/jdk: 6931812: A better implementation of sun.nio.cs.Surrogate.isBMP(int) (original) (raw)

martinrb at google.com martinrb at google.com
Wed Mar 10 15:14:43 PST 2010


Changeset: 467484e025d6 Author: martin Date: 2010-03-10 14:53 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/467484e025d6

6931812: A better implementation of sun.nio.cs.Surrogate.isBMP(int) Summary: uc >> 16 == 0 is superior to (int) (char) uc == uc Reviewed-by: sherman Contributed-by: Ulf Zibis <ulf.zibis at gmx.de>

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



More information about the net-dev mailing list