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

Severin Gehwolf sgehwolf at openjdk.org
Thu Feb 19 10:51:40 UTC 2026


On Fri, 13 Feb 2026 10:27:07 GMT, Antonio Vieiro <avieiro at openjdk.org> wrote:

>> 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
>
> Test failure in macos/tier1/serviceability is unrelated (timeout on GHA macos runner):
> 
> 2026-02-12T12:49:17.1528850Z ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.io.IOException: App waiting timeout
> 2026-02-12T12:49:17.1541040Z REASON: User specified action: run main/othervm/timeout=480 ClhsdbFindPC true true

@vieiro Please merge latest `master` branch to resolve conflicts. Thanks!

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3154#issuecomment-3926423510


More information about the jdk-updates-dev mailing list