diff options
author | Per Bothner <per@bothner.com> | 2004-02-14 10:41:48 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2004-02-14 10:41:48 -0800 |
commit | 19b17484d033b444106949396c6d6abbe08d595f (patch) | |
tree | ccf9cb4c8c1bb1ca26f433a5ec5b526da6cc5fe5 /libjava/java/nio/channels/spi | |
parent | c7762b449dca23277872cd1365c84522e42caadc (diff) | |
download | gcc-19b17484d033b444106949396c6d6abbe08d595f.zip gcc-19b17484d033b444106949396c6d6abbe08d595f.tar.gz gcc-19b17484d033b444106949396c6d6abbe08d595f.tar.bz2 |
AbstractInterruptibleChannel.java (close): Set closed before calling implCloseChannel, as in the spec.
* java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
Set closed before calling implCloseChannel, as in the spec.
From-SVN: r77809
Diffstat (limited to 'libjava/java/nio/channels/spi')
-rw-r--r-- | libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java b/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java index 0cf798e..5d9f886 100644 --- a/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java +++ b/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java @@ -74,8 +74,8 @@ public abstract class AbstractInterruptibleChannel { if (!closed) { - implCloseChannel(); closed = true; + implCloseChannel(); } } |