Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249159

Downport test rework for SSLSocketTemplate from 8224650

XMLWordPrintable

      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.

            goetz Goetz Lindenmaier
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: