Alan.Bateman at oracle.com
Thu Dec 16 13:28:04 PST 2010
Wolfgang Baltes wrote:
> Hi Alan,
> I took the WatchDir sample code and modified it as follows:
> - The directory parsing and event loop runs in a separate thread,
> which allows me to delete files and directories programmatically.
> - Added a few extra console outputs to better catch what is going on.
> - In the event loop, added a section to catch the particular condition
> in which we are interested.
> The bottom line of what I found is that the behavior changes depending
> on whether the deleted subdirectory is empty or not.
Thanks for spending time on a test and instructions on how to duplicate.
Unfortunately I'm away for a few days but I will look at it when I get
back and then we will know if this is a bug in our WatchService
implementation on Windows or something else.
More information about the nio-dev