WatchService questions

Alan Bateman Alan.Bateman at Sun.COM
Sat Feb 27 01:10:17 PST 2010


Sebastian Sickelmann wrote:
> Alan Bateman wrote:
>   
>> Sebastian Sickelmann wrote:
>>     
>>> :
>>> I am sorry that i actually had no time to manage my plan to create an
>>>       
>> implementation that let choose the user which version to use.
>>     
>>> But i hope you think Version 2B is worth of integrating in OpenJDK.
>>> What would the next steps to be?
>>>   
>>>       
>> I've created this bug to track this one:
>>   6929532: (file) WatchService should avoid queuing new modify events 
>> when lots of files are changing
>>
>> and I've put a webrev with the changes here:
>>    http://cr.openjdk.java.net/~alanb/6929532/webrev.00/
>>
>> The change to AbstractWatchKey is your changes (slightly modified but 
>> not much). It's hard to write reliable tests for the WatchService as the 
>> behavior across the 4 implementations varies slightly. So for the test I 
>> decided it would be easier to just expand the scope of an existing test 
>> - hope that's okay.
>>     
> Everthing is fine. I think your test is much better than mine. 
>   
>> If you are happy with this then I'll get this into jdk7, listing you as 
>> contributor.
>>     
> That would be nice. Let me know if there is something to do for me after that!
>   
Thanks. I think we're done and I'll get this into the jdk7/tl/jdk repo 
soon (should be in b88).

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20100227/f1de4944/attachment.html 


More information about the nio-dev mailing list