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
2 changed files with 8 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue