[jdk25u-dev] RFR: 8366182: Some PKCS11Tests are being skipped when they shouldn't

Roland Mesde duke at openjdk.org
Wed Dec 3 22:29:29 UTC 2025


Backporting JDK-8366182: Some PKCS11Tests are being skipped when they shouldn't.

For parity with Oracle JDK. The commit fixes PKCS11 tests to correctly parse NSS version numbers by comparing major and minor versions separately instead of treating them as doubles, which incorrectly ordered versions like 3.111 between 3.11 and 3.12.

Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

(Passed) - make test-tier1
(Passed) - make test TEST=test/jdk/jdk/sun/security/pkcs11

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

Commit messages:
 - Backport cc9483b4da1a0f65f8773d0c7f35f2e6a7e1bd4f

Changes: https://git.openjdk.org/jdk25u-dev/pull/59/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=59&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366182
  Stats: 92 lines in 6 files changed: 27 ins; 19 del; 46 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/59.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/59/head:pull/59

PR: https://git.openjdk.org/jdk25u-dev/pull/59


More information about the jdk-updates-dev mailing list