[11u] RFR: 8249159: Downport test rework for SSLSocketTemplate from 8224650
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Thu Jul 9 18:55:39 UTC 2020
Hi,
I would like to bring this test rework from 14 to 11.
It is part of https://bugs.openjdk.java.net/browse/JDK-8224650 .
8224650 contains the rework of SSLSocketTemplates.java and
adds a new test.
In the old version of SSLSocketTemplates.java certificates, names and keys
are held in separate arrays that must correlate by indexes correctly. The new
version uses enums to keep common information in one place. The new
version is much easier to maintain. Also, downports that just add new enums
are easier to handle.
The new test NamedGroupsWithCipherSuite.java does not pass in 11 because
the feature tested (JDK-8171279) is only in 13.
I would like to downport the rework because it makes JDK-8246330 apply
clean. I do not want to downport the new test as it fails. Therefore I opened
an Enhancement issue of it's own for this, https://bugs.openjdk.java.net/browse/JDK-8249159 .
Please review this webrev:
http://cr.openjdk.java.net/~goetz/wr20/8249159-rework_SSLSocketTemplate-jdk11/01/
It contains the changes of SSLSocketTemplate from JDK-8224650. They applied clean.
It does not contain the new test.
SSLSocketTemplate.java passes with this test.
Best regards,
Goetz.
More information about the jdk-updates-dev
mailing list