RFR: 8212136: Remove BaseSSLSocketImpl finalizer method [v2]
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Sat Apr 9 15:02:32 UTC 2022
On Sat, 9 Apr 2022 11:52:01 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> What is the existing behavior with the BaseSSLSocketImpl finalizer? Does it just close the socket or does it to the close_notify before closing the socket. If it does, and you want to keep that behavior, then you are probably into significant refactoring to avoid a reference to the BaseSSLSocketImpl.
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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8065
More information about the security-dev
mailing list