-
Enhancement
-
Resolution: Fixed
-
P4
-
8
-
b66
-
generic
-
generic
-
Verified
Add a BYTES constant to each of the primitive wrapper types. The SIZE value provided with primitive types is expresses the size of the type in bits. Frequently the size of a type in bytes is needed as bytes are the smallest unit of allocation. The most frequent use of the SIZE constant is to determine the size in in bytes for a type via (type).SIZE / Byte.SIZE
This change adds a constant BYTES to each of the primitive wrapper classes (Byte, Character, Double, Float, Integer, Long, Short) with the calculation (type).SIZE / Byte.SIZE already made.
This change adds a constant BYTES to each of the primitive wrapper classes (Byte, Character, Double, Float, Integer, Long, Short) with the calculation (type).SIZE / Byte.SIZE already made.
- relates to
-
JDK-8149896 Removed unnecessary values in FloatConsts and DoubleConsts
-
- Resolved
-