summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-14 18:41:48 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-14 18:41:48 +0000
commit2d95b93a182e9af1b0f32420965194a95ea51ea5 (patch)
treeccf9cb4c8c1bb1ca26f433a5ec5b526da6cc5fe5 /libjava
parentc513754a899164fdc32b6f3813bc6a379d5f6e95 (diff)
downloadgcc-2d95b93a182e9af1b0f32420965194a95ea51ea5.tar.gz
* java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
Set closed before calling implCloseChannel, as in the spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77809 138bc75d-0d04-0410-961f-82ee72b054a4
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();
}
}