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

Typo in SSLContext Spec

XMLWordPrintable

    • b38
    • generic
    • generic
    • Verified

      * @exception NoSuchAlgorithmException if no Provider supports a
      - * TrustManagerFactorySpi implementation for the
      + * SSLContextSpi implementation for the
           * specified protocol.
           * @exception NullPointerException if protocol is null.
           *
           * @see java.security.Provider
           */
          public static SSLContext getInstance(String protocol)
                  throws NoSuchAlgorithmException {

      - * @throws NoSuchAlgorithmException if a KeyManagerFactorySpi
      + * @throws NoSuchAlgorithmException if a SSLContextSpi
           * implementation for the specified protocol is not available
           * from the specified Provider object.
           *
      - * @throws IllegalArgumentException if the provider name is null.
      + * @throws IllegalArgumentException if the provider is null.
           * @throws NullPointerException if protocol is null.
           *
           * @see java.security.Provider
           */
          public static SSLContext getInstance(String protocol, Provider provider)
                  throws NoSuchAlgorithmException {

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: