Commit 19b17484 by Per Bothner Committed by Per Bothner

AbstractInterruptibleChannel.java (close): Set closed before calling…

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
parent c7762b44
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> 2004-02-09 Graydon Hoare <graydon@redhat.com>
* javax/swing/ToggleButtonModel.java: Remove dead class. * javax/swing/ToggleButtonModel.java: Remove dead class.
......
...@@ -74,8 +74,8 @@ public abstract class AbstractInterruptibleChannel ...@@ -74,8 +74,8 @@ public abstract class AbstractInterruptibleChannel
{ {
if (!closed) if (!closed)
{ {
implCloseChannel();
closed = true; closed = true;
implCloseChannel();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment