On Tue, 5 Jan 2021 00:41:11 GMT, Yasumasa Suenaga <ysuen...@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