2004-05-04 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. From-SVN: r81469
This commit is contained in:
committed by
Michael Koch
parent
d8ecbcdb20
commit
af62fd128a
@@ -115,6 +115,11 @@ public final class FileChannelImpl extends FileChannel
|
||||
this.mode = mode;
|
||||
}
|
||||
|
||||
protected void finalize() throws Throwable
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
public static FileChannelImpl in;
|
||||
public static FileChannelImpl out;
|
||||
public static FileChannelImpl err;
|
||||
|
||||
Reference in New Issue
Block a user