8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS
authorxuelei
Tue, 14 Jul 2015 00:53:09 +0000
changeset 31646 6abb6f423de4
parent 31645 26db68d6758c
child 31647 9c848765e848
8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS Reviewed-by: wetmore
jdk/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java
--- a/jdk/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java	Tue Jul 14 02:03:35 2015 +0300
+++ b/jdk/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java	Tue Jul 14 00:53:09 2015 +0000
@@ -156,8 +156,10 @@
          * This value is used to indicate that not-yet-interpreted data
          * has been previously received from the remote side, and does
          * not need to be received again.
+         * <P>
+         * This handshake status only applies to DTLS.
          *
-         * @since   1.9
+         * @since   9
          */
         NEED_UNWRAP_AGAIN;
     }
@@ -219,7 +221,7 @@
      *          arguments are null, or if {@code bytesConsumed} or
      *          {@code bytesProduced} is negative
      *
-     * @since   1.9
+     * @since   9
      */
     public SSLEngineResult(Status status, HandshakeStatus handshakeStatus,
             int bytesConsumed, int bytesProduced, long sequenceNumber) {
@@ -302,7 +304,7 @@
      *
      * @see     java.lang.Long#compareUnsigned(long, long)
      *
-     * @since   1.9
+     * @since   9
      */
     final public long sequenceNumber() {
         return sequenceNumber;