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
This commit is contained in:
Per Bothner 2004-02-14 10:41:48 -08:00 committed by Per Bothner
parent c7762b449d
commit 19b17484d0
2 changed files with 6 additions and 1 deletions

View 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.

View File

@ -74,8 +74,8 @@ public abstract class AbstractInterruptibleChannel
{
if (!closed)
{
implCloseChannel();
closed = true;
implCloseChannel();
}
}