On Thu, 7 Apr 2022 20:17:28 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.
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - typo blank linke correction
>  - revise the update

IMO we should not send close_notify in the finalizer. It's the application's 
responsibility to send close_notify when it's done with the socket; we should 
not pretend that it was closed normally when it was not.

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

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

Reply via email to