8366182: Some PKCS11Tests are being skipped when they shouldn't#2652
8366182: Some PKCS11Tests are being skipped when they shouldn't#2652rm-gh-8 wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back rm-gh-8! A progress list of the required criteria for merging this PR into |
|
@rm-gh-8 This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 19 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
|
/approval request for backport of JDK-8366182: Some PKCS11Tests are being skipped when they shouldn't. This is a test fix. For parity with Oracle JDK. Already backported to 25. |
|
/integrate |
|
The Windows build failure seems to be unrelated to this test-only change. |
|
/sponsor |
|
Going to push as commit 8084a06.
Your commit was automatically rebased without conflicts. |
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.
This PR is not clean (not detected by GHA) because it skips a commit (openjdk/jdk@db85090) which implements JEP 486, whick is not included in JDK 21.
The merge conflict is just the copyright notice in test/jdk/sun/security/pkcs11/Secmod/AddTrustedCert.java, and the changes intended in this PR should still be applicable.
jdk:
jdk21u-dev:
For parity with Oracle JDK. Already backported to 25.
Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
make test TEST=test/jdk/sun/security/pkcs11
Results attached:
windows-x64-specific-test.log
macos-aarch64-specific-test.log
linux-x64-specific-test.log
linux-aarch64-specific-test.log
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2652/head:pull/2652$ git checkout pull/2652Update a local copy of the PR:
$ git checkout pull/2652$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2652/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2652View PR using the GUI difftool:
$ git pr show -t 2652Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2652.diff
Using Webrev
Link to Webrev Comment