Re:java.nio.file.WatchService is subtly broken on Linux
by batterseapower on Tuesday December 08, 2015 @12:00PM
(#10697636)
Oh hey, it's my blog post.
I reported this to Oracle about 3 months ago (ref JI-9024492) but haven't heard anything since 2015-09-29, when they contacted me asking for some code to reproduce the issue (which I gave to them on the same day). :-/
I reported this to Oracle about 3 months ago (ref JI-9024492) but haven't heard anything since 2015-09-29, when they contacted me asking for some code to reproduce the issue (which I gave to them on the same day). :-/
under "Platform dependencies"
1. Event A is read into a buffer.
2. Event B is read into the same buffer.
3. Event B is processed.
4. Event A is processed.
So, when (4) happens, its buffer from (1) has been clobbered.