RFR: 8282529: Fix API Note in javadoc for javax.net.ssl.SSLSocket
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Wed Mar 2 15:31:08 UTC 2022
On Tue, 1 Mar 2022 17:09:57 GMT, zzambers <duke at openjdk.java.net> wrote:
> 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
Thank you for the nice catch. The update looks good to me. A CSR may be required for spec change.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7648
More information about the security-dev
mailing list