From 353ace4ccfffac24109e8c74ec748403c94a46ab Mon Sep 17 00:00:00 2001 From: xuelei Date: Tue, 1 May 2012 03:48:26 -0700 Subject: [PATCH] 7158688: Typo in SSLContext Spec Reviewed-by: weijun, wetmore --- src/share/classes/javax/net/ssl/SSLContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/share/classes/javax/net/ssl/SSLContext.java b/src/share/classes/javax/net/ssl/SSLContext.java index 6852df2f9..7aba5314e 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 -- GitLab