Some sun.misc internal APIs are deprectaed in JDK 9 and will be encapsulated or removed in a future release.
char ch = in.charAt(i+1); if (ch == 'x' || ch == 'X' ) // possible hex string return parseHexString(in);
Tip from Codota:
char ch = in.charAt(i+1); if (ch == 'x' || ch == 'X' ) // possible hex string return parseHexString(in);