OSDN Git Service

* java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Feb 2004 18:41:48 +0000 (18:41 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Feb 2004 18:41:48 +0000 (18:41 +0000)
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

libjava/ChangeLog
libjava/java/nio/channels/spi/AbstractInterruptibleChannel.java

index b5b260b..cce4eb5 100644 (file)
@@ -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.
index 0cf798e..5d9f886 100644 (file)
@@ -74,8 +74,8 @@ public abstract class AbstractInterruptibleChannel
   {
     if (!closed)
       {
-       implCloseChannel();
        closed = true;
+       implCloseChannel();
       }
   }