Bug: SelectionKey.interestOps ignores interestOps on Windows
Alan Bateman
Alan.Bateman at oracle.com
Mon Feb 11 07:24:00 PST 2013
On 07/02/2013 06:42, Frank Ding wrote:
> Hi Alan,
> Thank you for your careful review. I agree the scenario could happen.
> Would it be better if ski.setIndex(-1) in implDereg method and
> sk.getIndex() in putEventOps method are guarded by closeLock from JMM
> visibility point of perspective? The patch is available in the 02
> patch below.
>
> http://cr.openjdk.java.net/~dingxmin/6429204/webrev.02/
>
> Best regards,
> Frank
This is much better so thumbs up from me.
-Alan.
More information about the nio-dev
mailing list