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:
parent
2eb1ea8323
commit
2d2d0877ca
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user