RFR: 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap [v2]

Alan Bateman alanb at openjdk.java.net
Wed Aug 11 06:11:22 UTC 2021


On Tue, 10 Aug 2021 18:59:20 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> The issue is specific to macOS, but the test does not constrain the target platforms. Should it?

If it's reliable on all platforms then no reason to restrict it. I think we should at least using try-with-resources in main and generateBigFile so that it closes the file when there is an exception.

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

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


More information about the nio-dev mailing list