-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update security properties for java_net for jdk 11+ #4085
Conversation
Test with x64 Linux with
|
jck/jtrunner/JavaTestRunner.java
Outdated
@@ -1220,7 +1243,7 @@ private static boolean testsRequireDisplay (String tests) { | |||
private static String getTestSpecificJvmOptions(String jckVersion, String tests) { | |||
String testSpecificJvmOptions = ""; | |||
|
|||
if ( tests.contains("api/javax_net") || tests.contains("api/javax_xml") || (getJckVersionInt(jckVersionNo) >= 18 && (tests.contains("api/java_net") || tests.contains("api/java_util"))) ) { | |||
if ( tests.contains("api/javax_net") || tests.contains("api/javax_xml") || tests.contains("api/java_net") || tests.contains("api/java_util") ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By removing getJckVersionInt(jckVersionNo) >= 18
, we will set extra security.properties for all version. I thought we only want to set for JDK11+.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @llxia ! Yes, I've added the version check back, and changed the value to 11+.
fb31f4b
to
79fdd25
Compare
Signed-off-by: Mesbah Alam <Mesbah_Alam@ca.ibm.com>
79fdd25
to
29dc614
Compare
This PR has been updated to include changes in #4059. Grinder links have been updated with latest tests. Please review. |
Both Grinder_JCK/748 and Grinder_JCK/750 ran against JDK19. Please provide the Grinder link for JDK11. Thanks |
Re: #4085 (comment) - ah, too many grinder runs causing mix up! Here's a fresh run on 11: Grinder_JCK/755. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
FYI @JasonFengJ9
Signed-off-by: Mesbah Alam Mesbah_Alam@ca.ibm.com