RFR: 8367994: test/jdk/sun/security/pkcs11/Signature/ tests pass when they should skip

Weijun Wang weijun at openjdk.org
Mon Sep 22 15:58:41 UTC 2025


On Thu, 18 Sep 2025 14:56:13 GMT, Mikhail Yankelevich <myankelevich at openjdk.org> wrote:

> * test/jdk/sun/security/pkcs11/Signature/InitAgainPSS.java
> * test/jdk/sun/security/pkcs11/Signature/KeyAndParamCheckForPSS.java
> * test/jdk/sun/security/pkcs11/Signature/SigInteropPSS.java
> * test/jdk/sun/security/pkcs11/Signature/SigInteropPSS2.java
> * test/jdk/sun/security/pkcs11/Signature/SignatureTestPSS.java
> * test/jdk/sun/security/pkcs11/Signature/SignatureTestPSS2.java
> * test/jdk/sun/security/pkcs11/Signature/TestDSA.java

Honestly, I don't quite understand why there are 2 tests initializing `skipTest` as true and then assign it false. Usually it's the other way round. If you know why it has to be coded this way, please add some comments there. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/27367#issuecomment-3319884668


More information about the security-dev mailing list