RFR: 8259045: Exception message from saproc.dll is garbled on Windows with Japanese locale
Ioi Lam
iklam at openjdk.java.net
Tue Jan 5 03:22:56 UTC 2021
On Tue, 5 Jan 2021 03:07:49 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Given that this seems to be a common problem in our code, and likely a very very old problem at that, why has it never been reported before? I'm not questioning the fix except to the extent that I'm questioning our understanding of the problem.
I think it's probably because the errors only happen in very rare cases. For example, when a DLL is missing from the JAVA_HOME. For more common cases, such as Process_impl.c, the code has been rewritten to use FormatMessageW, which is unicode.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1928
More information about the build-dev
mailing list