RFR: 8265261: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted

Mark Sheppard msheppar at openjdk.java.net
Wed Aug 18 10:06:22 UTC 2021


On Wed, 18 Aug 2021 02:32:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> This proposal suggests to change the timing of testing whether a file copy is terminated by an interrupt.

is a countdown of 2 required?
or is it sufficient that the Interrupter thread should wait for the main to tell it to proceed?
Does the fact that the test runs agentvm influence the scheduling of the test's threads or is 
is that irrelevant on linux?

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

PR: https://git.openjdk.java.net/jdk/pull/5154


More information about the nio-dev mailing list