--- old/src/hotspot/share/oops/symbol.cpp 2018-10-01 15:58:49.397422366 -0400 +++ new/src/hotspot/share/oops/symbol.cpp 2018-10-01 15:58:48.929729953 -0400 @@ -79,7 +79,7 @@ bool Symbol::starts_with(const char* prefix, int len) const { if (len > utf8_length()) return false; while (len-- > 0) { - if (prefix[len] != (char) byte_at(len)) + if (prefix[len] != char_at(len)) return false; } assert(len == -1, "we should be at the beginning"); @@ -117,7 +117,7 @@ if (size > 0) { int len = MIN2(size - 1, utf8_length()); for (int i = 0; i < len; i++) { - buf[i] = byte_at(i); + buf[i] = char_at(i); } buf[len] = '\0'; }