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

Daniel Fuchs dfuchs at openjdk.java.net
Tue Aug 24 11:04:30 UTC 2021


On Tue, 24 Aug 2021 00:30:48 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8265261: Reinstate duration check and latches but with countdown 1

If the test campaign shows better results with this latter version then I have no objection: it looks better to me than the previous repeated interrupt logic.

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

Marked as reviewed by dfuchs (Reviewer).

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


More information about the nio-dev mailing list