On Mon, 24 Nov 2025 17:52:54 GMT, Daniel Jeliński <[email protected]> wrote:
> When checking for supported TLS versions, use SSLContext default parameters
> if the provided SSLParameters have no protocols configured.
>
> This fixes an issue where using SSLParameters with no protocols disabled the
> use of HTTP2 and HTTP3, even when these protocols were supported and enabled
> in the SSLContext.
>
> Modified the existing tests to additionally cover the case of empty
> SSLParameters. All tests continue to pass.
test/jdk/java/net/httpclient/http3/H3UnsupportedSSLParametersTest.java line 85:
> 83: */
> 84: @Test
> 85: public void testDefault() throws Exception {
This test passes even without your changes. Is this expected?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28480#discussion_r2558964307