Skip to content

Conversation

@rsearls
Copy link
Contributor

@rsearls rsearls commented Nov 13, 2025

…eSecurityManagerTest to run JDK-24+
https://issues.redhat.com/browse/ELY-2961

@rsearls
Copy link
Contributor Author

rsearls commented Nov 18, 2025

Need to wait for future code changes related to the replacement of security manager code.

@Skyllarr Skyllarr added the hold label Nov 21, 2025
@Skyllarr
Copy link
Contributor

@rsearls I've added hold label based on your last comment

@rsearls
Copy link
Contributor Author

rsearls commented Nov 21, 2025

Agreed
Sorry I though I had closed this PR. Needed to wait for ELY-2962 merge at minimum.
Do you want me to close this?

@Skyllarr
Copy link
Contributor

@rsearls No need to close it, it is okay opened with hold label. Or you can convert it to draft if it will have changes later

@rsearls
Copy link
Contributor Author

rsearls commented Nov 26, 2025

Before merging this, it should be rebased after #2345 is merged.

@darranl
Copy link
Contributor

darranl commented Nov 28, 2025

@rsearls #2345 is merged so I think this can be rebased

@rsearls rsearls force-pushed the ELY-2961-JDK-24-bld-2.x branch 2 times, most recently from c8301ba to 8712218 Compare December 1, 2025 16:01
@rsearls rsearls force-pushed the ELY-2961-JDK-24-bld-2.x branch from 8712218 to ff06cec Compare December 15, 2025 19:01
@rsearls rsearls requested a review from a team as a code owner December 15, 2025 19:01
@rsearls rsearls force-pushed the ELY-2961-JDK-24-bld-2.x branch from ae716c5 to 46bea79 Compare December 18, 2025 14:49
Assert.assertEquals(1, defaultSSLContext.createSSLEngine().getSSLParameters().getProtocols().length);
Assert.assertEquals(1, defaultSSLContext.getSocketFactory().getSupportedCipherSuites().length);
// jdk-24+ does not support the TLS_RSA_* cipher suite by default. In this scenario nothing is returned.
Assert.assertEquals(0, defaultSSLContext.getSocketFactory().getSupportedCipherSuites().length);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsearls Should there be some kind of if-else that checks the version of java before this assertEquals?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need. The supported security protocol and corresponding cipher suites
are determined at the JDK level. I have verified that these assertions are
valid for jdk-17 thru jdk-25.

@Skyllarr
Copy link
Contributor

@rsearls there is a pom.xml conflict now that needs rebase, otherwise I approved the changes. Thank you!

@rsearls rsearls force-pushed the ELY-2961-JDK-24-bld-2.x branch from 46bea79 to 8ee20a0 Compare January 21, 2026 14:56
@rsearls
Copy link
Contributor Author

rsearls commented Jan 21, 2026

Rebase complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants