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 | |
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
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b5b260b..cce4eb5 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 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(); } } |