38 Commits

Author SHA1 Message Date
Alexander Stepanov
0547ad2898 8030709: Tidy warnings cleanup for java.lang package; minor cleanup in java.math, javax.script
Reviewed-by: lancea
2014-05-12 14:12:33 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Roger Riggs
93dcac6266 8026982: javadoc errors in core libs
Cleanup of javadoc -Xlint errors

Reviewed-by: lancea, mduigou, darcy, mullan, mchung
2013-10-22 17:02:08 -04:00
Brian Burkhalter
095614ee2c 8019862: Fix doclint errors in java.lang.*
Fix doclint errors in java.lang.*

Reviewed-by: darcy
2013-07-03 17:08:14 -07:00
Alan Bateman
451a0034a1 8016217: More javadoc warnings
Reviewed-by: lancea, chegar, psandoz
2013-06-10 12:58:32 +01:00
Martin Buchholz
edcaf23233 8010316: Improve handling of char sequences containing surrogates
Fix and optimize codePointAt, codePointBefore and similar methods

Reviewed-by: sherman, okutsu, ulfzibis, kizune
2013-03-26 13:36:51 -07:00
Mike Duigou
b2926d9724 7088952: Add size in bytes constant "BYTES" to primitive type wrapper types
Adds a constant BYTES to each of the primitive wrapper classes (Byte, Character, Double, Float, Integer, Long, Short) with the calculation Primitive.SIZE / Byte.SIZE already made.

Reviewed-by: dholmes
2012-11-13 20:02:39 -08:00
Mike Duigou
96aa3fad5a 7088913: Add compatible static hashCode(primitive) to primitive wrapper classes
Adds static utility methods to each primitive wrapper class to allow calculation of a hashCode value from an unboxed primitive.

Reviewed-by: darcy, smarks, dholmes
2012-11-13 20:02:48 -08:00
Yuka Kamiya
81afea6146 7198195: Support Unicode 6.2.0
Reviewed-by: okutsu
2012-11-07 09:58:39 +09:00
Yuka Kamiya
e127bc8acf 7070436: Support Unicode 6.1.0 in JDK 8
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Omair Majid
d312aad0c1 7117612: Miscellaneous warnings in java.lang
Reviewed-by: smarks, dholmes, alanb, darcy
2011-12-08 13:48:54 -05:00
Xueming Shen
4463efaf61 7037261: j.l.Character.isLowerCase/isUpperCase need to match the Unicode Standard
Updated j.l.c.lsLowerCase/isUpperCase

Reviewed-by: okutsu
2011-04-28 20:18:57 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Xueming Shen
e27e4cb99b 7033561: Missing Unicode Script aliases
Added 6.0 aliases

Reviewed-by: okutsu, peytoia, alanb
2011-04-10 23:33:14 -07:00
Yuka Kamiya
55ddf02900 4715085: [Ch] Doc: java.lang.Character.digit documentation unclear regarding fullwidth characters
Reviewed-by: okutsu
2011-03-24 15:29:16 +09:00
Lana Steuck
4010e0a7cb Merge 2010-12-22 23:12:17 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Masayoshi Okutsu
163e0575c4 6457726: Character.isWhitespace JavaDoc has nonexistent char literals
Reviewed-by: peytoia
2010-12-08 18:05:30 +09:00
Yuka Kamiya
4a4fb15178 6959267: Support Unicode 6.0.0
Reviewed-by: okutsu
2010-11-17 01:02:20 +09:00
Yuka Kamiya
036b7a86a5 6983724: redundant @exception description for Character.Subset(String name)
Reviewed-by: okutsu
2010-09-10 17:22:36 +09:00
Ulf Zibis
ff895e1ca9 6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Add public variants of methods Surrogate.high, Surrogate.low

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
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