-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 8, 9
-
Component/s: core-libs
-
b27
-
generic
-
windows
FULL PRODUCT VERSION :
Java8u102
ADDITIONAL OS VERSION INFORMATION :
Windows Server 2008 R2
A DESCRIPTION OF THE PROBLEM :
In WindowsWatchService.Poller::run, when the CompletionInfo.error() is ERROR_NOTIFY_ENUM_DIR
an OVERFLOW event is signaled to the key, yet the ReadDirectoryChangesW function is not called
like it is a few lines below for the other OVERFLOW that is signaled.
Corresponding line for JDK9:
http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/1210d929d34e/src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java#l617
REPRODUCIBILITY :
This bug can be reproduced rarely.
CUSTOMER SUBMITTED WORKAROUND :
When receiving an OVERFLOW, restart the WatchService.
Java8u102
ADDITIONAL OS VERSION INFORMATION :
Windows Server 2008 R2
A DESCRIPTION OF THE PROBLEM :
In WindowsWatchService.Poller::run, when the CompletionInfo.error() is ERROR_NOTIFY_ENUM_DIR
an OVERFLOW event is signaled to the key, yet the ReadDirectoryChangesW function is not called
like it is a few lines below for the other OVERFLOW that is signaled.
Corresponding line for JDK9:
http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/1210d929d34e/src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java#l617
REPRODUCIBILITY :
This bug can be reproduced rarely.
CUSTOMER SUBMITTED WORKAROUND :
When receiving an OVERFLOW, restart the WatchService.
- links to
-
Commit(master)
openjdk/jdk/8a5db916
-
Review(master)
openjdk/jdk/28620