OSDN Git Service

* java/io/FileInputStream.java (finalize): Don't explicitly
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jan 2003 00:08:11 +0000 (00:08 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jan 2003 00:08:11 +0000 (00:08 +0000)
        finalize FileDescriptor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60863 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/io/FileInputStream.java

index a26bad2..7489088 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-03  Mark Wielaard  <mark@klomp.org>
+
+       * java/io/FileInputStream.java (finalize): Don't explicitly
+       finalize FileDescriptor.
+
 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
 
        * configure.host (sparc*-*): Enable bytecode interpreter.
index d7efc26..85d7bbe 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2001, 2002  Free Software Foundation
+/* Copyright (C) 1998, 1999, 2001, 2002, 2003  Free Software Foundation
 
    This file is part of libgcj.
 
@@ -61,8 +61,8 @@ public class FileInputStream extends InputStream
 
   protected void finalize() throws IOException
   {
-    if (fd != null)
-      fd.finalize();
+    // We don't actually need this, but we include it because it is
+    // mentioned in the JCL.
   }
 
   public final FileDescriptor getFD() throws IOException