Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Update OpenJDK19 test case to add module jdk.crypto.cryptoki #21

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

taoliult
Copy link
Contributor

@taoliult taoliult commented Aug 8, 2022

Port PR ibmruntimes/openj9-openjdk-jdk11#557 from OpenJDK11 to OpenJDK19

In FIPS mode, the SecureRandom come from the provider SunPKCS11. So, add the module “jdk.crypto.cryptoki” into the test case, so that the test case can initialize the provider SunPKCS11 and get the SecureRandom from it in FIPS mode. This will make the test case works both in the FIPS and non-FIPS mode.

Signed-off-by: Tao Liu tao.liu@ibm.com

… work in FIPS mode

In FIPS mode, the SecureRandom come from the provider SunPKCS11. So, add the module “jdk.crypto.cryptoki” into the test case, so that the test case can initialize the provider SunPKCS11 and get the SecureRandom from it in FIPS mode. This will make the test case works both in the FIPS and non-FIPS mode.

Signed-off-by: Tao Liu <tao.liu@ibm.com>
@taoliult
Copy link
Contributor Author

taoliult commented Aug 8, 2022

@pshipton @alon-sh
PR created, please help to review.
This PR port the changes from ibmruntimes/openj9-openjdk-jdk11#557 to OpenJDK19.

Grinder test result before update the test case:
https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/26592/

Grinder test result after update the test case:
https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/26593/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants