RFR: 8263905: Remove finalize methods for SocketInput/OutputStream

Daniel Fuchs dfuchs at openjdk.java.net
Mon Mar 22 10:24:47 UTC 2021


On Mon, 22 Mar 2021 06:02:37 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to java.net.SocketInputStream and
> java.net.SocketOutputStream, removing their "finalize" methods.  These
> methods are empty.  Their purpose is to override and suppress the finalize
> methods of their superclasses (FileInputStream and FileOutputStream,
> respectively).  But those classes had their finalize methods removed by
> JDK-8192939 in JDK 12.

Marked as reviewed by dfuchs (Reviewer).

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

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


More information about the net-dev mailing list