RFR: 8294437: java/nio/channels/FileChannel tests slow on Windows [v2]

Alan Bateman alanb at openjdk.org
Thu Sep 29 15:08:19 UTC 2022


On Thu, 29 Sep 2022 14:47:55 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> I went with adding `FileUtils.createSparseTempFile()`; the method implementation is still ugly, but at least it's not visible when looking at the tests.

I would prefer if the FileChannel tests do not use this. The reason is that these are tests for FileChannel and should not be dependent on test infrastructure that it out of sight. It would be okay for non-FileChannel tests to use of course.

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

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


More information about the nio-dev mailing list