RFR: 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService [v3]

Brian Burkhalter bpb at openjdk.org
Thu Mar 2 16:54:27 UTC 2023


On Thu, 2 Mar 2023 08:32:45 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8303413: Simplify SensitivityModifier test
>
> test/jdk/java/nio/file/WatchService/SensitivityModifier.java line 96:
> 
>> 94:             // register the directories (random sensitivity)
>> 95:             register(dirs, watcher);
>> 96: 
> 
> I assume there is a lot more that is no longer needed in this test, e.g most of doTest is not needed, POLL_TIMEOUT_SECONDS can be removed, ...  I suspect the resulting test will be very simple - just test that the temp dir can be registered with each of the sensitivity levels.

Fixed (enough?) in 2e9867bd45cfbad727699a1254514227b995dd7a.

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

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


More information about the nio-dev mailing list