RFR: 8259045: Exception message from saproc.dll is garbled on Windows with Japanese locale

Chris Plummer cjplummer at openjdk.java.net
Tue Jan 5 01:33:56 UTC 2021


On Tue, 5 Jan 2021 00:41:11 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> jdk.hotspot.agent do not have `FormatMessage()` call in other place.
> Did you say about whole JDK code? I haven't checked all of them, but some code (e.g. net_util_md.c) uses `JNU_ThrowByName()` which is provided by java.dll.

Yes, I was referring to all JDK code. Given how many references there are to FormatMessage(), I'm surprised this issue has not turned up before. I was wondering if there is something unique about the SA reference that makes the issue only turn up there.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1928



More information about the build-dev mailing list