RFR: JDK-8293808: mscapi destroyKeyContainer enhance KeyStoreException: Access is denied exception
Weijun Wang
weijun at openjdk.org
Thu Sep 15 13:02:46 UTC 2022
On Thu, 15 Sep 2022 08:11:38 GMT, Matthias Baesken <mbaesken at openjdk.org> 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.
This is not a fix for the bug itself, therefore I suggest either create a new issue or create a subtask for this code change.
Also, how about we enhance the existing `ThrowException` function to include the error code in the output as well.
Finally, with this change, do you have more clues on the "Access is denied" problem?
-------------
PR: https://git.openjdk.org/jdk/pull/10280
More information about the security-dev
mailing list