RFR: 8287580: (se) CancelledKeyException during channel registration
Alan Bateman
alanb at openjdk.java.net
Thu Jun 2 10:01:38 UTC 2022
On Thu, 2 Jun 2022 09:47:40 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:
> Hi Brian, what about adding the selection key to “keys” after we set the interesOps ? I do not see any side effect of doing this.
That would mean a selection key could be selected before it added to the selector's key. So I don't think it is feasible, at least not without working through the spec implications.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8978
More information about the nio-dev
mailing list