[PATCH] 6350055: Atomic SelectionKey operations

Alan Bateman Alan.Bateman at oracle.com
Thu May 31 12:25:57 UTC 2018



On 30/05/2018 19:14, David Lloyd wrote:
> On Wed, May 23, 2018 at 9:00 AM, David Lloyd <david.lloyd at redhat.com> wrote:
>> I can probably add tests to show that the ops work.  I'm not so sure
>> that I can make a test that proves the atomicity of the operation
>> though.
> Updated with tests [1] & attached.
>
I quickly skimmed it and the test look reasonable. We should extend it 
to cover the CancelledKeyException and IllegaArgumentException cases 
too, I didn't spot anything testing these exceptions.

-Alan


More information about the nio-dev mailing list