27 Commits

Author SHA1 Message Date
Brian Burkhalter
66bcedaa7a 8015395: NumberFormatException during startup if JDK-internal property java.lang.Integer.IntegerCache.high set to bad value
Fall back to default if a bad value is passed for this property.

Reviewed-by: mduigou
2013-06-18 11:36:39 -07:00
Mike Duigou
9bb27cedcb 8007398: Peformance improvements to Integer and Long string formatting
Co-authored-by: Steven Schlansker <stevenschlansker@gmail.com>
Reviewed-by: mduigou, martin, darcy, briangoetz
2013-02-12 17:04:09 -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
David Katleman
b8e0cde9e1 Merge 2013-01-16 22:21:30 -08:00
Fredrik Ohrstrom
a1118e2d86 8005856: build-infra: Remove special handling of base module classes header generation
Reviewed-by: alanb, tbell, ohair
2013-01-10 12:23:15 +01:00
Brian Burkhalter
af27b8c59d 7103957: NegativeArraySizeException while initializing class IntegerCache
Reviewed-by: darcy, mchung
2013-01-09 16:58:47 -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
Alan Bateman
9b8e06e699 8000269: Cleanup javadoc warnings
Reviewed-by: lancea, darcy, ulfzibis, iris, naoto, dholmes
2012-10-01 15:36:57 +01:00
Brian Doherty
f55750d05a 6924259: Remove offset and count fields from java.lang.String
Removes the use of shared character array buffers by String along with the two fields needed to support the use of shared buffers.

Reviewed-by: alanb, mduigou, forax, briangoetz
2012-05-17 10:06:19 -07:00
Rémi Forax
05ffd97b08 7165102: Only run assertion on Integer autoboxing cache size once
Reviewed-by: darcy, alanb
2012-05-02 20:01:59 +01:00
Joe Darcy
032af13e8b 7132338: Use @code friendly idiom for '\' in javadoc
Reviewed-by: alanb
2012-01-23 12:17:30 -08:00
Joe Darcy
cc5049f41e 4504839: Java libraries should provide support for unsigned integer arithmetic
4215269: Some Integer.toHexString(int) results cannot be decoded back to an int
6322074: Converting integers to string as if unsigned

Reviewed-by: mduigou, emcmanus, flar
2012-01-20 17:56:31 -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
Joe Darcy
17af9b241a 6268216: Boolean.getBoolean() throws SecurityException
Reviewed-by: mduigou
2011-09-20 18:33:25 -07:00
Joe Darcy
38afb5138c 4850225: Integer.getInteger() : Bad reference to getProperty?
Reviewed-by: lancea
2011-08-15 12:56:01 -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
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Mandy Chung
d990871881 6977738: Deadlock between java.lang.ClassLoader and java.util.Properties
Reviewed-by: alanb, sherman, darcy, igor
2010-10-11 20:22:27 -07: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
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
Xiomara Jayasena
e0c1d51604 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:54 -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
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00