[jdk11u-dev] RFR: 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate
Antonio Vieiro
avieiro at openjdk.org
Thu Feb 12 16:30:41 UTC 2026
Backport of [JDK-8306015](https://bugs.openjdk.org/browse/JDK-8306015) that updates even more tests on top of the `SSL` test templates introduced in #3151 and #3153 . This is the last backport of the series required to upgrade the SSL tests in JDK-11.
Backport is not clean because JDK-11 is missing [JDK-8211018](https://bugs.openjdk.org/browse/JDK-8211018) (Session Resumption without Server-Side State, introduced in JDK14) . This requires dropping some `-Djdk.tls.client.enableSessionTicketExtension=false` that are used in 17, and also dropping `test/jdk/sun/security/ssl/SSLSessionImpl/ResumeChecksClientStateless.java` and `test/jdk/sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java` in the original commit.
All tests in `jdk-security` continue to pass:
==============================
Test summary
==============================
TEST TOTAL PASS FAIL ERROR
jtreg:test/jdk:jdk_security 1361 1361 0 0
==============================
TEST SUCCESS
-------------
Depends on: https://git.openjdk.org/jdk11u-dev/pull/3153
Commit messages:
- Backport 44ca605ce6a4507857debf8469c5f16bf8191642
Changes: https://git.openjdk.org/jdk11u-dev/pull/3154/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3154&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306015
Stats: 2192 lines in 19 files changed: 160 ins; 1706 del; 326 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3154.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3154/head:pull/3154
PR: https://git.openjdk.org/jdk11u-dev/pull/3154
More information about the jdk-updates-dev
mailing list