# HG changeset patch
# User xuelei
# Date 1335869306 25200
# Node ID 30cadbf1ecbd94c82cf0dee075b4b4cfccb81e4d
# Parent 2e06461600d99b24f7996f978c837c4a3e4b79a2
7158688: Typo in SSLContext Spec
Reviewed-by: weijun, wetmore
diff -r 2e06461600d9 -r 30cadbf1ecbd 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 SSLContext
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 SSLContext
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