7158688: Typo in SSLContext Spec
authorxuelei
Tue, 01 May 2012 03:48:26 -0700
changeset 12557 30cadbf1ecbd
parent 12556 2e06461600d9
child 12558 9a300e0567f7
7158688: Typo in SSLContext Spec Reviewed-by: weijun, wetmore
jdk/src/share/classes/javax/net/ssl/SSLContext.java
--- a/jdk/src/share/classes/javax/net/ssl/SSLContext.java	Tue May 01 11:17:20 2012 +0100
+++ b/jdk/src/share/classes/javax/net/ssl/SSLContext.java	Tue May 01 03:48:26 2012 -0700
@@ -145,7 +145,7 @@
      * @return the new <code>SSLContext</code> object.
      *
      * @exception NoSuchAlgorithmException if no Provider supports a
-     *          TrustManagerFactorySpi implementation for the
+     *          SSLContextSpi implementation for the
      *          specified protocol.
      * @exception NullPointerException if protocol is null.
      *
@@ -222,11 +222,11 @@
      *
      * @return the new <code>SSLContext</code> object.
      *
-     * @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