changeset 12327:03fbc49ca861

8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS Reviewed-by: wetmore
author xuelei
date Tue, 14 Jul 2015 00:53:09 +0000
parents 8afadc476af7
children 78fcb2e094db
files src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java	Tue Jul 14 02:03:35 2015 +0300
+++ b/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;