--- old/src/share/classes/java/lang/Byte.java 2012-11-07 15:01:28.000000000 -0800 +++ new/src/share/classes/java/lang/Byte.java 2012-11-07 15:01:27.000000000 -0800 @@ -494,6 +494,14 @@ */ public static final int SIZE = 8; + /** + * The number of bytes used to represent a {@code byte} value in two's + * complement binary form. + * + * @since 1.8 + */ + public static final int BYTES = SIZE / Byte.SIZE; + /** use serialVersionUID from JDK 1.1. for interoperability */ private static final long serialVersionUID = -7183698231559129828L; }