changeset 5334:71fdf32fdc65

7158688: Typo in SSLContext Spec Reviewed-by: weijun, wetmore
author xuelei
date Tue, 01 May 2012 03:48:26 -0700
parents c22b2f9066dd
children 6c9c3d7ce9e2
files src/share/classes/javax/net/ssl/SSLContext.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/net/ssl/SSLContext.java	Tue May 01 11:17:20 2012 +0100
+++ b/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