hg: jdk8/tl/jdk: 7088952: Add size in bytes constant "BYTES" to primitive type wrapper types
mike.duigou at oracle.com
mike.duigou at oracle.com
Wed Nov 14 17:16:55 UTC 2012
Changeset: e24123de581c
Author: mduigou
Date: 2012-11-13 20:02 -0800
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e24123de581c
7088952: Add size in bytes constant "BYTES" to primitive type wrapper types
Summary: 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
! src/share/classes/java/lang/Byte.java
! src/share/classes/java/lang/Character.java
! src/share/classes/java/lang/Double.java
! src/share/classes/java/lang/Float.java
! src/share/classes/java/lang/Integer.java
! src/share/classes/java/lang/Long.java
! src/share/classes/java/lang/Short.java
More information about the core-libs-dev
mailing list