2003-10-09 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 9 Oct 2003 17:34:10 +0000 (17:34 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 9 Oct 2003 17:34:10 +0000 (17:34 +0000)
commit4e3cb200a543c0a52b4a8ec8f1a1518bfcb08ce2
tree3d255b674b1d9f300d842c3696c2bef6cd9f7869
parent93d046861d42e9779905f7db3c575923290eedf2
2003-10-09  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/spi/AbstractSelectableChannel.java
(registered): Made private.
(blocking): Likewise.
(LOCK): Likewise.
(provider): Likewise.
(keys): Made it a private LinkedList.
(AbstractSelectableChannel): Initialize keys.
(isRegistered): New implementation.
(locate): Rewritten.
(register): Rewritten.
* java/nio/channels/spi/AbstractSelectionKey.java
(ok): Removed.
(cancelled): New member variable.
(cancel): Rewritten.
(isValid): Rewritten.
* java/nio/channels/spi/AbstractSelector.java:
Some methods moved.
(closed): Make private.
(provider): Likewise.
(cancelledKeys): New member variable.
(AbstractSelector): Initialize cancelledKeys.
(cancelKey): New method.

From-SVN: r72275
libjava/ChangeLog
libjava/java/nio/channels/spi/AbstractSelectableChannel.java
libjava/java/nio/channels/spi/AbstractSelectionKey.java
libjava/java/nio/channels/spi/AbstractSelector.java