RFR: 8114830: (fs) Files.copy fails due to interference from something else changing the file system [v8]
Alan Bateman
alanb at openjdk.org
Thu Aug 10 12:37:29 UTC 2023
On Thu, 10 Aug 2023 06:20:43 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:
> I will suggest you to use "java.io.tmpdir" instead of "test.dir" so that all dir/files will get created in 'tmp' directory.
The problem with java.io.tmpdir is that it will fail up /tmp (or equivalent). Also one advantage of using the test work directory is that it will be archived with the test results so it can, in many tests, help with diagnosing why the test failed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15141#discussion_r1290035606
More information about the nio-dev
mailing list