diff --git a/src/share/classes/javax/net/ssl/SSLContext.java b/src/share/classes/javax/net/ssl/SSLContext.java
index 6852df2f98cbd522ebba65f6070caf15872fde7e..7aba5314e368e7c77d8b9a7c36165c6d8f70cc2d 100644
--- a/src/share/classes/javax/net/ssl/SSLContext.java
+++ b/src/share/classes/javax/net/ssl/SSLContext.java
@@ -145,7 +145,7 @@ public class SSLContext {
* @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 @@ public class SSLContext {
*
* @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