17 Commits

Author SHA1 Message Date
Ulf Zibis
aa6a17064b 6934270: Remove javac warnings from Character.java
Use generics and conform to coding style

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c3e20af57 6963749: Minor improvements to Character.UnicodeBlock
Fix surrogate area docs; make source more readable

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
a0f3e72c24 6934265: Add public method Character.isBmpCodePoint
Move isBmpCodePoint from sun.nio.cs.Surrogate to Character

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
30d5c660bc 6934268: Better implementation of Character.isValidCodePoint
Use the cleverest possible bit-twiddling micro-optimizations

Reviewed-by: sherman
2010-06-30 16:11:31 -07:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Xueming Shen
bb2be852aa 6945564: Unicode script support in Character class
6948903: Make Unicode scripts available for use in regular expressions

Added Unicode script suport

Reviewed-by: martin
2010-05-18 15:36:47 -07:00
Kevin Bourrillion
beaa8fd82d 6582946: Add suite of compare(T, T) methods for ints, longs etc
Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
4e63c9bc06 4245470: algorithm of java.lang.Byte.hashCode() is not specified
Specify some hashCode methods are equivalent to intValue

Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
86d587f77c 6879368: Remove stray quote in Character javadoc
Remove stray quote in Character.valueOf javadoc, using Ulf's \u005CuXXXX technique

Reviewed-by: darcy
2009-09-04 13:44:36 -07:00
Martin Buchholz
9ef7eb7884 6860431: Character.isSurrogate(char ch)
Add new method Character.isSurrogate(char ch)

Reviewed-by: sherman, darcy, okutsu
2009-08-31 15:00:04 -07:00
Yuri Nesterenko
fbec558c0b Merge 2009-08-07 02:20:58 -07:00
Yuka Kamiya
a74a7d0f30 6866243: Javadoc for java.lang.Character still refers to Unicode 4 instead of 5
Reviewed-by: okutsu
2009-07-30 14:45:04 +09:00
Martin Buchholz
7ac7d3079f 6639443: Character.toCodePoint and Character.toSurrogates can be optimized
Rearranging code saves 5 bytes of bytecode

Reviewed-by: sherman
2009-07-24 18:16:14 -07:00
Joe Darcy
40a7ea7c9c 6628737: Specification of wrapper class valueOf static factories should require caching
Reviewed-by: mr
2009-07-09 12:31:30 -07:00
Yuka Kamiya
7a543510bd 6404304: RFE: Unicode 5.1 support
Reviewed-by: okutsu, naoto
2009-04-10 11:51:36 +09:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00