FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor.

* java/io/FileInputStream.java (finalize): Don't explicitly
        finalize FileDescriptor.

From-SVN: r60863
This commit is contained in:
Mark Wielaard 2003-01-04 00:08:11 +00:00 committed by Mark Wielaard
parent 2eb1ea8323
commit 2d2d0877ca
2 changed files with 8 additions and 3 deletions

View 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.

View 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