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

No throws of SSLHandshakeException

XMLWordPrintable

      In the StatusResponseManager.get(CertStatusRequestType type, CertStatusRequest request, X509Certificate[] chain, long delay, TimeUnit unit) method spec, the SSLHandshakeException is declared as throws exception. However, no such checked-exception would be thrown in the method implementation.

      /**
      ...
       * @throws SSLHandshakeException if an unsupported
       * {@code CertStatusRequest} is provided.
       */
      Map<X509Certificate, byte[]> get(CertStatusRequestType type,
                  CertStatusRequest request, X509Certificate[] chain, long delay,
                  TimeUnit unit) {

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

              Created:
              Updated:
              Resolved: