[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 11:41:27 UTC 2026


On Thu, 19 Feb 2026 10:02:28 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
>
> 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.

Retested:

(We now have one more test from master)


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk:jdk_security                        1362  1362     0     0   
==============================
TEST SUCCESS

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

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


More information about the jdk-updates-dev mailing list