Integrated: 8263905: Remove finalize methods for SocketInput/OutputStream

Kim Barrett kbarrett at openjdk.java.net
Tue Mar 23 20:57:59 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.

This pull request has now been integrated.

Changeset: 47ef0389
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/47ef0389
Stats:     14 lines in 2 files changed: 0 ins; 12 del; 2 mod

8263905: Remove finalize methods for SocketInput/OutputStream

Reviewed-by: alanb, vtewari, dfuchs, mchung

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

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


More information about the net-dev mailing list