JDK-8249159 : Downport test rework for SSLSocketTemplate from 8224650
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 11.0.9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-09
  • Updated: 2020-07-29
  • Resolved: 2020-07-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11.0.9 b01Fixed
Related Reports
Relates :  
Description
JDK-8224650 adds a new test NamedGroupsWithCipherSuite.java but also reworks test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java. In the old version, 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 a Backport issue of it's own for this.
Comments
URL: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/1c074e777d22 User: clanger Date: 2020-07-29 08:06:34 +0000
29-07-2020

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/1c074e777d22 User: goetz Date: 2020-07-17 08:56:22 +0000
17-07-2020

Fix request (11u) I would like to downport this to easy maintenance of ssl tests, see also Description. The patch of JDK-8224650 applies clean. I just reverted the new test added, so it is not included. http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-July/003473.html Risk: no risk - only a test change.
10-07-2020