JDK-8313575 : Refactor PKCS11Test tests
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-08-02
  • Updated: 2025-09-03
  • Resolved: 2023-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 21 JDK 22
17.0.11-oracleFixed 21.0.2Fixed 22 b14Fixed
Related Reports
Relates :  
Description
Tests based on open/test/jdk/sun/security/pkcs11/PKCS11Test.java template could be refactored to have better insight into results. This test executes 3 configurations, default, Deimos, and NSS. This task is filed to investigate if these can be split to different tests.

Test is marked as skipped even when one configuration is not run.
Comments
Fix request [17u] I backport this for parity with 17.0.11-oracle. No risk, only a test change. Resolved one Copyright, marked clean. Tests pass. SAP nightly testing passed.
25-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2169 Date: 2024-01-23 15:05:15 +0000
23-01-2024

jdk21u backport request I would like to have the patch in jdk21u as well, because the backport would be helpful there too. The backport is clean and low risk.
25-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/185 Date: 2023-09-21 12:12:52 +0000
21-09-2023

Changeset: 7a08e6bd Author: Rajan Halade <rhalade@openjdk.org> Date: 2023-09-05 23:08:25 +0000 URL: https://git.openjdk.org/jdk/commit/7a08e6bdd63c2b4d6283c0c45820024199a4614e
05-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15523 Date: 2023-08-31 21:01:23 +0000
31-08-2023

testDefault will also be removed as JDK doesn't have default PKCS11 provider.
31-08-2023

Tony is correct. Deimos was the code name for Sun Crypto Accelerator 1000, and that card has been EOL/EOSL for a very long time, well over a decade. Also, I believe this card only had Solaris support. As I recall, Sun didn't formally support Linux for the crypto accelerator cards until the Sun Crypto Accelerator 6000.
02-08-2023

Deimos can be removed. It's an old Sun crypto card that no one has anymore.
02-08-2023