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:
Mark Wielaard 2004-05-04 05:32:46 +00:00 committed by Michael Koch
parent d8ecbcdb20
commit af62fd128a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-05-04 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.
2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.

View File

@ -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;