aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/spi
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-02-14 10:41:48 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-02-14 10:41:48 -0800
commit19b17484d033b444106949396c6d6abbe08d595f (patch)
treeccf9cb4c8c1bb1ca26f433a5ec5b526da6cc5fe5 /libjava/java/nio/channels/spi
parentc7762b449dca23277872cd1365c84522e42caadc (diff)
downloadgcc-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.java2
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();
}
}