On Tue, 5 Jan 2021 03:07:49 GMT, Chris Plummer <cjplum...@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