3 ms·
Is this the problem that is mentioned within the JavaDoc https://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html https://docs.oracle.com/javas
by gravypod 11y ago
Is this the problem that is mentioned within the JavaDoc https://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html https://docs.oracle.com/javase/7/docs/api/java/nio/file/Watc...
under "Platform dependencies"
- jdmichal 11y agoIt's not the same issue. In this case, it's a logic error: 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.
- gravypod 11y agoWell that is definitely odd. I hope this does eventually get fixed.