On Fri, 16 Sep 2022 16:19:35 GMT, Naoto Sato <na...@openjdk.org> wrote:
>> Extract to a byte array with the appropriate charset and then HexFormat the >> bytearray. >> >> >> var SysPropHexVal = >> HexFormat.of().formatHex(sysPropVal.getBytes(StandardCharsets.UTF_16)); > > Thanks, Roger. You beat me to it 🙂 Thank you, I fixed it. In addition, since the return value of formatHex is four digits, I fixed the second argument passed to execTest to match that format. ------------- PR: https://git.openjdk.org/jdk/pull/9389