RFR: 8297275: WatchService delay with PollingWatchService causes test failures

Tyler Steele tsteele at openjdk.org
Tue Dec 20 22:59:59 UTC 2022


On Fri, 21 Oct 2022 21:43:25 GMT, Tyler Steele <tsteele at openjdk.org> wrote:

> This minor change fixes a compliance test failure which was partially addressed by https://github.com/openjdk/jdk/commit/1bb4de2e2868a539846ec48dd43fd623c2ba69a5. However the failure was still observed on select machines. This change addresses the remaining failures by ensuring that any new WatchKey is held until the polling thread becomes active.

I am happy to see that #11665 fixes this issue. As such, this fix is no longer required.

-------------

PR: https://git.openjdk.org/jdk/pull/10824


More information about the nio-dev mailing list