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

Remove javax.security.cert.X509Certificate usage in internal networking packages

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:
      None
    • Resolved In Build:
      b57

      Backports

        Description

        The javax.security.cert is being deprecated in JDK-8073430. Some methods in the internal sun.net.* and com.sun.net.* packages use the javax.security.cert.X509Certificate type, however. These methods should be removed or changed to use java.security.cert.Certificate instead.

        These methods can probably be removed:
        com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getServerCertificateChain()
        sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getServerCertificateChain()
        sun.net.www.protocol.https.HttpsClient.getServerCertificateChain()
        sun.net.www.protocol.https.HttpsURLConnectionImpl.getServerCertificateChain()

        This method may have to be modified:
        com.sun.net.ssl.HttpsURLConnection.getServerCertificateChain()

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                juh Jason Uh (Inactive)
                Reporter:
                juh Jason Uh (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: