diff options
author | Per Bothner <per@bothner.com> | 2004-02-14 10:44:11 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2004-02-14 10:44:11 -0800 |
commit | c6a59e52a7e05412a034124b2f42b76098d3e5c6 (patch) | |
tree | d182de3f2d2f2579487c8802bcd92861deb73cd2 /libjava | |
parent | de93b150b7b548c9a3a2faa11bb3b546f77b6bab (diff) |
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: r77810
Diffstat (limited to 'libjava')
-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 6326230dd73..7e9a82444fc 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-08 Per Bothner <per@bothner.com> * java/nio/ByteBuffer.java (shiftDown): New helper method. 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(); } } |