[jdk11u-dev] RFR: 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate [v2]

Antonio Vieiro avieiro at openjdk.org
Thu Feb 19 10:02:28 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

Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/3154/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/3154/files/ab964802..ab964802

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3154&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3154&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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