7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]

Vitaly Davidovich vitalyd at gmail.com
Tue May 1 06:18:42 PDT 2012


Hi Alan,

registerChildren() swallows IOException and DirectoryIteratorException.
Does this mean caller may think that events got registered but in fact it
didn't? Would it be better if these exceptions were propagated to the
caller?

Thanks

Sent from my phone
On May 1, 2012 6:19 AM, "Alan Bateman" <Alan.Bateman at oracle.com> wrote:

>  On 01/05/2012 10:35, Chris Hegarty wrote:
>
> Looks fine Alan, nice test!
>
> Trivially, typo in test description:
>   < "Test that are CREATE and DELETE evenets are paired for very short
>      lived files"
>   ---
>   > "Test that our CREATE and DELETE events are paired for very short
>      lived files" *OR* "Tests that CREATE..."
>
> Thanks Chris, I change the comment to:
>
> * @summary Test that CREATE and DELETE events are paired for very short
> lived files
>
> before pushing the change.
>
> -Alan.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20120501/fc31a49c/attachment.html 


More information about the nio-dev mailing list