--- a/jdk/src/share/classes/java/lang/Short.java Wed Nov 14 07:08:50 2012 -0800
+++ b/jdk/src/share/classes/java/lang/Short.java Tue Nov 13 20:02:39 2012 -0800
@@ -471,6 +471,14 @@
public static final int SIZE = 16;
/**
+ * The number of bytes used to represent a {@code short} value in two's
+ * complement binary form.
+ *
+ * @since 1.8
+ */
+ public static final int BYTES = SIZE / Byte.SIZE;
+
+ /**
* Returns the value obtained by reversing the order of the bytes in the
* two's complement representation of the specified {@code short} value.
*