Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is this the problem that is mentioned within the JavaDoc https://docs.oracle.com/javase/7/docs/api/java/nio/file/Watc...

under "Platform dependencies"



It'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.


Well that is definitely odd. I hope this does eventually get fixed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: