2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java (finalize): Throws Throwable, not IOException. * java/io/ObjectOutputStream.java (PutField.put): Doesnt throws anything. From-SVN: r64970
This commit is contained in:
parent
0c85dbfd12
commit
bcfaead06e
3 changed files with 21 additions and 28 deletions
|
@ -79,7 +79,7 @@ public final class FileDescriptor
|
|||
|
||||
|
||||
// When collected, close.
|
||||
protected void finalize () throws IOException
|
||||
protected void finalize () throws Throwable
|
||||
{
|
||||
if (valid ())
|
||||
close ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue