jdk/src/share/classes/java/lang/Long.java
changeset 14507 066419d1e732
parent 14503 0729d9e57ed5
child 15136 c17824042364
--- a/jdk/src/share/classes/java/lang/Long.java	Wed Nov 14 07:08:50 2012 -0800
+++ b/jdk/src/share/classes/java/lang/Long.java	Tue Nov 13 20:02:39 2012 -0800
@@ -1320,6 +1320,14 @@
     public static final int SIZE = 64;
 
     /**
+     * The number of bytes used to represent a {@code long} value in two's
+     * complement binary form.
+     *
+     * @since 1.8
+     */
+    public static final int BYTES = SIZE / Byte.SIZE;
+
+    /**
      * Returns a {@code long} value with at most a single one-bit, in the
      * position of the highest-order ("leftmost") one-bit in the specified
      * {@code long} value.  Returns zero if the specified value has no