RFR: JDK-8295405 : Add cause in a couple of IllegalArgumentException and InvalidParameterException shown by sun/security/pkcs11 tests [v2]
Sean Mullan
mullan at openjdk.org
Wed Oct 26 15:25:19 UTC 2022
You are currently receiving this informational message with the original email attached. We need your help in notifying the team or sender responsible for this mail flow to ensure future email is delivered properly.
The host that sent this message is not compliant with Oracle's email security policy (DMARC). Please notify the person(s) responsible for this message and share the content below so they can take actions to resolve their issue.
If you have no idea who is responsible, then please address the #ww-oracle-dmarc slack channel for assistance.
Deadlines
• We plan to move to quarantine non-compliant messages on October 26th (delayed due to change freeze). After this date, if the issues are not fixed, messages will be held in a folder on our email gateway and will not be delivered to you.
• We will then move to reject on November 22nd. After this date, messages will be rejected.
For more technical resources and information, see:
https://confluence.oci.oraclecorp.com/display/EMAIL/DMARC+for+Oracle+IT+and+Email+Delivery+Frequently+Asked+Questions
https://confluence.oraclecorp.com/confluence/display/OITGLOBAL/DMARC+Global+FAQ
Thank you in advance for your attention to this matter.
----------------------------------------------------------------------
On Tue, 18 Oct 2022 14:55:12 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.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> More causes
src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java line 212:
> 210: } catch (NullPointerException npe) {
> 211: throw new SignatureException("Unsupported digest: " +
> 212: digestAlg, npe);
I don't think the `NullPointerException` adds any value here. I would leave that out.
-------------
PR: https://git.openjdk.org/jdk/pull/10726
More information about the security-dev
mailing list