RFR: 8264539: Improve failure message of java/nio/file/WatchService/SensitivityModifier.java [v2]
Alan Bateman
alanb at openjdk.java.net
Fri Apr 2 14:23:25 UTC 2021
On Fri, 2 Apr 2021 01:50:37 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Please consider this request to improve the message printed when no `ENTRY_MODIFY` events are received. In the polling implementation of `WatchService` currently used on macOS, it would be useful to know the sensitivity of polling in effect for the failing case. It might indicate, for example, that low sensitivity should not be used in the test.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8264539: Change poll timeout on macOS; use RandomFactory
Changes look okay although I don't think changing POLL_TIMEOUT_SECONDS vary by platform is necessary.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3290
More information about the nio-dev
mailing list