On Sat, 9 Apr 2022 11:52:01 GMT, Alan Bateman <al...@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