diff -r 43edfde828ab -r daf3b49f4839 src/java.base/share/classes/java/lang/String.java --- 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; }