WatchService re-register events appended or replaced

Michael Hall mik3hall at
Wed Jul 25 16:13:54 PDT 2012

This isn't clear to me from the javadoc which I thought might make it worth raising the question even if I could track down the answer myself.
When you re-register a path you should get the same WatchKey back. Does it keep it's old events and get the new ones added?
I assume re-register amounts to an event reset but would feel safer in this assumption with some confirmation?

More information about the nio-dev mailing list