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:
parent
d8ecbcdb20
commit
af62fd128a
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user