jdk/src/share/classes/java/lang/Character.java
changeset 14507 066419d1e732
parent 14503 0729d9e57ed5
child 16714 cb235d5f8bd4
--- a/jdk/src/share/classes/java/lang/Character.java	Wed Nov 14 07:08:50 2012 -0800
+++ b/jdk/src/share/classes/java/lang/Character.java	Tue Nov 13 20:02:39 2012 -0800
@@ -7171,6 +7171,14 @@
     public static final int SIZE = 16;
 
     /**
+     * The number of bytes used to represent a {@code char} value in unsigned
+     * 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
      * specified <tt>char</tt> value.
      *