summaryrefslogtreecommitdiff
path: root/libjava
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
parentc7762b449dca23277872cd1365c84522e42caadc (diff)
downloadgcc-19b17484d033b444106949396c6d6abbe08d595f.tar.gz
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')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index b5b260bb3f5..cce4eb504de 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-14 Per Bothner <per@bothner.com>
+
+ * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
+ Set closed before calling implCloseChannel, as in the spec.
+
2004-02-09 Graydon Hoare <graydon@redhat.com>
* javax/swing/ToggleButtonModel.java: Remove dead class.
diff --git a/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java b/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java
index 0cf798eaf57..5d9f886ac39 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();
}
}