RFR: 8287580: (se) CancelledKeyException during channel registration [v3]

Alan Bateman alanb at openjdk.java.net
Fri Jun 3 07:04:38 UTC 2022


On Thu, 2 Jun 2022 22:14:27 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Ignore `CancelledKeyException` during registration.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8287580: Revert change to AbstractSelectableChannel; reduce iterations in test

test/jdk/java/nio/channels/Selector/KeyCancelled.java line 36:

> 34: import java.util.concurrent.CountDownLatch;
> 35: 
> 36: public class KeyCancelled {

Maybe rename to "CancelDuringRegister" so it's a bit more obvious from the test name what the test is for.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8978


More information about the nio-dev mailing list