* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.
From-SVN: r81469
+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;