RFR: 8373537: Migrate "test/jdk/com/sun/net/httpserver/" to null-safe "SimpleSSLContext" methods
Mikhail Yankelevich
myankelevich at openjdk.org
Mon Dec 15 09:59:03 UTC 2025
On Fri, 12 Dec 2025 19:31:15 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
> Migrates `test/jdk/com/sun/net/httpserver/` to null-safe `SimpleSSLContext` methods introduced in [JDK-8372661], which is a prerequisite for this change set.
test/jdk/com/sun/net/httpserver/HttpsParametersClientAuthTest.java line 172:
> 170: // by the server
> 171: final SSLContext serverSSLCtx = new SimpleSSLContext().get();
> 172: assertNotNull(serverSSLCtx, "could not create SSLContext");
Minor: Do you think this might still happen? What do you think about adding this as a part of the first run test in case the initialisation fails? Just for debugging convenience
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28800#discussion_r2618729960
More information about the net-dev
mailing list