8001751: Javadoc warnings in JSSE code
authorxuelei
Sat, 24 Nov 2012 03:34:27 -0800
changeset 14663 49b7de969579
parent 14662 f62df78810c3
child 14664 e71aa0962e70
8001751: Javadoc warnings in JSSE code Reviewed-by: alanb
jdk/src/share/classes/javax/net/ssl/HostnameVerifier.java
jdk/src/share/classes/javax/net/ssl/SNIHostName.java
jdk/src/share/classes/javax/net/ssl/SNIMatcher.java
jdk/src/share/classes/javax/net/ssl/SNIServerName.java
jdk/src/share/classes/javax/net/ssl/SSLParameters.java
jdk/src/share/classes/javax/net/ssl/SSLSocketFactory.java
--- a/jdk/src/share/classes/javax/net/ssl/HostnameVerifier.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/HostnameVerifier.java	Sat Nov 24 03:34:27 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,6 @@
  * verification fail.
  *
  * @author Brad R. Wetmore
- * @see HostnameVerifierFactory
  * @since 1.4
  */
 
--- a/jdk/src/share/classes/javax/net/ssl/SNIHostName.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/SNIHostName.java	Sat Nov 24 03:34:27 2012 -0800
@@ -135,7 +135,8 @@
      * <A HREF="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</A>,
      * <A HREF="http://www.ietf.org/rfc/rfc1122.txt">RFC 1122</A>,
      * <A HREF="http://www.ietf.org/rfc/rfc1123.txt">RFC 1123</A>)
-     * for {@code encoded} argument, or use {@link SNIHostName(String)} instead.
+     * for {@code encoded} argument, or use
+     * {@link SNIHostName#SNIHostName(String)} instead.
      * <P>
      * The {@code encoded} argument is illegal if it:
      * <ul>
--- a/jdk/src/share/classes/javax/net/ssl/SNIMatcher.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/SNIMatcher.java	Sat Nov 24 03:34:27 2012 -0800
@@ -44,7 +44,7 @@
  * @see SNIServerName
  * @see SNIHostName
  * @see SSLParameters#getSNIMatchers()
- * @see SSLParameters#setSNIMatchers(Collection<SNIMatcher>)
+ * @see SSLParameters#setSNIMatchers(Collection)
  *
  * @since 1.8
  */
--- a/jdk/src/share/classes/javax/net/ssl/SNIServerName.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/SNIServerName.java	Sat Nov 24 03:34:27 2012 -0800
@@ -40,7 +40,7 @@
  * methods that can change the state of an instance once it has been created.
  *
  * @see SSLParameters#getServerNames()
- * @see SSLParameters#setServerNames(List<SNIServerName>)
+ * @see SSLParameters#setServerNames(List)
  *
  * @since 1.8
  */
--- a/jdk/src/share/classes/javax/net/ssl/SSLParameters.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/SSLParameters.java	Sat Nov 24 03:34:27 2012 -0800
@@ -343,7 +343,7 @@
      * @return null or an immutable list of non-null {@link SNIServerName}s
      *
      * @see List
-     * @see #setServerNames(List<SNIServerName>)
+     * @see #setServerNames(List)
      *
      * @since 1.8
      */
@@ -418,7 +418,7 @@
      * @return null or an immutable collection of non-null {@link SNIMatcher}s
      *
      * @see SNIMatcher
-     * @see #setSNIMatchers(Collection<SNIMatcher>)
+     * @see #setSNIMatchers(Collection)
      *
      * @since 1.8
      */
--- a/jdk/src/share/classes/javax/net/ssl/SSLSocketFactory.java	Fri Nov 23 13:07:54 2012 +0400
+++ b/jdk/src/share/classes/javax/net/ssl/SSLSocketFactory.java	Sat Nov 24 03:34:27 2012 -0800
@@ -198,8 +198,8 @@
      * (RFC6066)</A>).  Data that has been already removed from the
      * underlying {@link InputStream} should be loaded into the
      * {@code consumed} stream before this method is called, perhaps
-     * using a {@link ByteArrayInputStream}.  When this {@link Socket}
-     * begins handshaking, it will read all of the data in
+     * using a {@link java.io.ByteArrayInputStream}.  When this
+     * {@link Socket} begins handshaking, it will read all of the data in
      * {@code consumed} until it reaches {@code EOF}, then all further
      * data is read from the underlying {@link InputStream} as
      * usual.