From: Per Bothner Date: Sat, 14 Feb 2004 18:41:48 +0000 (-0800) Subject: AbstractInterruptibleChannel.java (close): Set closed before calling implCloseChannel... X-Git-Tag: releases/gcc-4.0.0~10120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b17484d033b444106949396c6d6abbe08d595f;p=thirdparty%2Fgcc.git 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 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b5b260bb3f56..cce4eb504de9 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-02-14 Per Bothner + + * java/nio/channels/spi/AbstractInterruptibleChannel.java (close): + Set closed before calling implCloseChannel, as in the spec. + 2004-02-09 Graydon Hoare * 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 0cf798eaf572..5d9f886ac392 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(); } }