src/java.base/share/classes/java/lang/String.java
changeset 48262 daf3b49f4839
parent 48065 c4f2b6749c86
child 49109 f2804cb922ce
--- a/src/java.base/share/classes/java/lang/String.java	Wed Dec 13 15:32:36 2017 +0000
+++ b/src/java.base/share/classes/java/lang/String.java	Wed Dec 13 07:51:57 2017 -0800
@@ -3046,6 +3046,10 @@
         return COMPACT_STRINGS ? coder : UTF16;
     }
 
+    byte[] value() {
+        return value;
+    }
+
     private boolean isLatin1() {
         return COMPACT_STRINGS && coder == LATIN1;
     }