Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241039 Retire the deprecated SSLSession.getPeerCertificateChain() method
  3. JDK-8241048

Release Note: Retired the Deprecated SSLSession.getPeerCertificateChain() Method Implementation

XMLWordPrintable

      The implementation of the deprecated `SSLSession.getPeerCertificateChain()` method has been removed from the JDK in the SunJSSE provider and the HTTP client implementation. The default implementation of this method has been changed to throw UnsupportedOperationException.

      `SSLSession.getPeerCertificateChain()` is a deprecated method and will be removed in a future release. To mitigate the removal compatibility impact, applications should use the `SSLSession.getPeerCertificates()` method instead. For service providers, please remove this method from the existing implementation, and do not support this method in any new implementation.

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: