* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81469
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
this.mode = mode;
}
+ protected void finalize() throws Throwable
+ {
+ close();
+ }
+
public static FileChannelImpl in;
public static FileChannelImpl out;
public static FileChannelImpl err;