RFR: 8297275: WatchService delay with PollingWatchService causes test failures
Alan Bateman
alanb at openjdk.org
Sat Nov 19 08:06:38 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.
This seems to adds a 1s sleep to Path.register. I don't think we want that. Would it be possible to start with a summary of the test failure that you are running into.
-------------
Changes requested by alanb (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10824
More information about the nio-dev
mailing list