On Thu, 31 Mar 2022 20:15:35 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

> Please review the update to remove finalizer method in the SunJSSE provider 
> implementation.  It is one of the efforts to clean up the use of finalizer 
> method in JDK.

The socket close() call in the finalize() method may be blocked for the SSL 
implementation, which is not good for garbage collection.   It should be safe 
by just remove the finalize() method.

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

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

Reply via email to