RFR: 8282529: Fix API Note in javadoc for javax.net.ssl.SSLSocket

zzambers duke at openjdk.java.net
Wed Mar 2 11:56:22 UTC 2022


Fixed API Note in javadoc for javax.net.ssl.SSLSocket class. API Note was introduced by JDK-8208526 [1]. At that point both Socket.shutdownInput() / Socket.shutdownOutput() and InputStream.close() / OutputStream.close() performed half-close of TLS-1.3 connection. However this behaviour has changed as result of JDK-8216326 [2]. InputStream.close() / OutputStream.close() no longer perform half-close but full socket close, but API Note was never updated.

[1] https://bugs.openjdk.java.net/browse/JDK-8208526
[2] https://bugs.openjdk.java.net/browse/JDK-8216326

-------------

Commit messages:
 - javax/net/ssl/SSLSocket: Fixed API Note in javadoc

Changes: https://git.openjdk.java.net/jdk/pull/7648/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7648&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282529
  Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7648.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7648/head:pull/7648

PR: https://git.openjdk.java.net/jdk/pull/7648



More information about the security-dev mailing list