Bug description:
https://jbs.oracle.com/bugs/browse/JDK-8014394
http://bugs.sun.com/view_bug.do?bug_id=8014394
Here is the suggested fix:
http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-8014394/webrev.00/
Summary:
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 [sun.nio.ch] package
that has similar problems.
Regards,
-uta