[jdk25u-dev] RFR: 8373537: Migrate "test/jdk/com/sun/net/httpserver/" to null-safe "SimpleSSLContext" methods

Roland Mesde duke at openjdk.org
Wed Feb 25 11:23:11 UTC 2026


Backporting JDK-8373537: Migrate "test/jdk/com/sun/net/httpserver/" to null-safe "SimpleSSLContext" methods.

This PR migrates all tests in test/jdk/com/sun/net/httpserver/ to use the new null-safe SimpleSSLContext methods introduced in JDK-8372661, removing redundant null checks at call sites.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/com/sun/net/httpserver

-------------

Commit messages:
 - Backport 14c93b2afbf0135e872866c7f8468d9ce6df1e0d

Changes: https://git.openjdk.org/jdk25u-dev/pull/310/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=310&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373537
  Stats: 52 lines in 15 files changed: 9 ins; 22 del; 21 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/310.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/310/head:pull/310

PR: https://git.openjdk.org/jdk25u-dev/pull/310


More information about the jdk-updates-dev mailing list