]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AbstractInterruptibleChannel.java (close): Set closed before calling implCloseChannel...
authorPer Bothner <per@bothner.com>
Sat, 14 Feb 2004 18:41:48 +0000 (10:41 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 14 Feb 2004 18:41:48 +0000 (10:41 -0800)
* java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
Set closed before calling implCloseChannel, as in the spec.

From-SVN: r77809

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

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