提交 7df0a39e 编写于 作者: A alanb

7144086: TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java failing intermittently

Reviewed-by: chegar
上级 a8a6cfda
......@@ -96,6 +96,7 @@ public class SensitivityModifier {
// drain events (to avoid interference)
do {
key.pollEvents();
key.reset();
key = watcher.poll(1, TimeUnit.SECONDS);
} while (key != null);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册