On Fri, 16 Sep 2022 07:43:00 GMT, Matthias Baesken <[email protected]> wrote:
>> Currently we see on various Windows machines the following exception : >> https://bugs.openjdk.org/browse/JDK-8293097 >> >> java.security.KeyStoreException: Access is denied. >> >> This should probably be enhanced a bit so that the exception tell us more >> about what went wrong exactly. > > Matthias Baesken has updated the pull request incrementally with one > additional commit since the last revision: > > Add errcode output to ThrowException Changes requested by weijun (Reviewer). src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp line 165: > 163: strcpy(szMessage, "Unknown error"); > 164: } > 165: snprintf(szMessage2, sizeof(szMessage2), "error %lu, %s", msg, > dwError, szMessage); `msg` is from nowhere. ------------- PR: https://git.openjdk.org/jdk/pull/10280
