Bug: SelectionKey.interestOps ignores interestOps on Windows

Frank Ding dingxmin at linux.vnet.ibm.com
Fri Feb 15 19:21:09 PST 2013


Hi Alan,
   Thank you.  Shall I have my colleague push the change?

Best regards,
Frank

On 2/11/2013 11:24 PM, Alan Bateman wrote:
> 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