RFR: 8212136: Remove BaseSSLSocketImpl finalizer method [v2]

Bradford Wetmore wetmore at openjdk.java.net
Sat Apr 9 17:04:31 UTC 2022


On Sat, 9 Apr 2022 14:59:13 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> The existing behavior is trying to close the socket and send the close_notify. As the socket closure has been done in the SocketImpl, I think BaseSSLSocketImpl could rely on to the SocketImpl cleaner. So the left for the cleaning is about the close_notify.

@AlanBateman, just to clarify, send the close_notify first, then close the socket.  

>From the Socket's point of view, the encrypted close_notify message is just a few bytes of application data sent over the Socket's OutputStream.

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

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



More information about the security-dev mailing list