[jdk11u-dev] RFR: 8306015: Update sun.security.ssl TLS tests to use SSLContextTemplate or SSLEngineTemplate [v3]
Antonio Vieiro
avieiro at openjdk.org
Thu Feb 19 11:41:26 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. The pull request contains five additional commits since the last revision:
- Merge master
- Backport 44ca605ce6a4507857debf8469c5f16bf8191642
- Backport 0b44cd037f7a8c23ce1a790dac6fd8a2a21bc769
- Backport 5e0be4886b2923309a820d2d6230d9071430ebc7
- Backport 1f3d71b6205a9b9f473b14e6848db2d49d59110d
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/3154/files
- new: https://git.openjdk.org/jdk11u-dev/pull/3154/files/ab964802..2bcf2bdf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3154&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3154&range=01-02
Stats: 1776 lines in 30 files changed: 707 ins; 13 del; 1056 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