20 Commits

Author SHA1 Message Date
Joe Darcy
e751cc77ad 8017550: Fix doclint issues in java.lang and subpackages
Reviewed-by: alanb, chegar
2013-06-24 23:40:31 -07:00
Alan Bateman
451a0034a1 8016217: More javadoc warnings
Reviewed-by: lancea, chegar, psandoz
2013-06-10 12:58:32 +01:00
Brian Burkhalter
a1fe63768f 7032154: Performance tuning of sun.misc.FloatingDecimal/FormattedFloatingDecimal
Performance improvements for double/float -> String and decimal/hex String -> double/float conversions.

Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Olivier Lagneau <olivier.lagneau@oracle.com>
Reviewed-by: martin, iris
2013-06-05 21:01:02 -07:00
Joe Darcy
0050c5b4fb 6964528: Double.toHexString(double d) String manipulation with + in an append of StringBuilder
Reviewed-by: shade
2013-02-01 19:30:02 -08:00
Akhil Arora
5dc4c11b2b 8004201: Add static utility methods to primitives to be used for redution operations
Reviewed-by: darcy, mduigou, briangoetz, dholmes
2013-01-25 16:13:39 -08: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
Joe Darcy
032af13e8b 7132338: Use @code friendly idiom for '\' in javadoc
Reviewed-by: alanb
2012-01-23 12:17:30 -08:00
Omair Majid
d312aad0c1 7117612: Miscellaneous warnings in java.lang
Reviewed-by: smarks, dholmes, alanb, darcy
2011-12-08 13:48:54 -05:00
Martin Desruisseaux
f6f5a14a32 7110111: Minor Java SE javadoc & Constructor clean up
Reviewed-by: alanb, darcy
2011-11-10 11:41:27 -05:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Joe Darcy
5b7643e258 7091682: Move sun.misc.FpUtils code into java.lang.Math
Reviewed-by: alanb
2011-09-18 18:14:07 -07:00
Joe Darcy
392eef08ca 6253144: Long narrowing conversion should describe the algorithm used and implied "risks"
Reviewed-by: mduigou, alanb
2011-06-23 14:57:57 -07:00
Jim Holmlund
bbf16c0b3a 7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks
7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks
7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks
7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks
7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks
7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks
7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks
7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: darcy
2011-04-13 12:16:13 -07:00
Joe Darcy
c5f85d1c78 7002594: Math.max and Math.min should use floatToRawIntBits() to check for -0.0
Reviewed-by: mduigou, lancea, alanb
2010-12-01 13:01:53 -08:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Joe Darcy
debdf79d18 6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String)
6655735: Integer.toString() and String.valueOf(int) contain slow delegations

Reviewed-by: lancea
2009-10-07 14:04:20 -07:00
Joe Darcy
b8fae2d33c 6463998: Undocumented NullPointerExeption from Float.parseFloat and Double.parseDouble
Reviewed-by: lancea, iris
2009-07-15 14:43:13 -07:00
Joe Darcy
e08feb9741 6604864: Double.valueOf(String) does not specify behaviour for overflow and underflow
Reviewed-by: emcmanus
2009-01-23 10:37:41 -08:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00