Review request: JDK-8014394 (fs) WatchService failing when watching \\server\$d

Alexey Utkin alexey.utkin at
Wed May 22 16:07:59 UTC 2013

  Bug description:

Here is the suggested fix:

The problem source is the ERROR_MORE_DATA warning event that was treated 
as error.
The suggested fix contains limited refactoring that can be critical for 
further support.

The main changes are:
-- The [WAKEUP_COMPLETION_KEY] constant was introduced  instead "magic" 
zero value.
-- The capacity of the completion key set was extended for x64 platform 
in accordance with MS documentation.
-- The [OVERLAPPED] structure is initialized correctly in native code.

I regret about  the absence of a common code with [] package 
that has similar problems.


More information about the core-libs-dev mailing list