RFR: JDK-8295405 : Add cause in a couple of IllegalArgumentException and InvalidParameterException shown by sun/security/pkcs11 tests

Mark Powers mpowers at openjdk.org
Mon Oct 17 17:10:09 UTC 2022


On Mon, 17 Oct 2022 10:42:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We have a number of failing sun/security/pkcs11 test on RHEL 8.6, see
> 
> https://bugs.openjdk.org/browse/JDK-8295343
> 8295343 : sun/security/pkcs11 tests fail on Linux RHEL 8.6
> 
> The exceptions generated by these tests sometimes miss the cause (causing exception), it would be nice to have this added to get the complete exception backtrace.

There are several other files in the pkcs11 directory where cause is missing from the thrown exception. Might as well fix them all.

-------------

PR: https://git.openjdk.org/jdk/pull/10726



More information about the security-dev mailing list