RFR: 8322881: Method createTempFile() causes file copy permission issue when running through jtreg
Alan Bateman
alanb at openjdk.org
Wed Jan 3 06:45:47 UTC 2024
On Wed, 3 Jan 2024 03:42:17 GMT, yaqsun <duke at openjdk.org> wrote:
> testcase: java/nio/file/Files/CopyMoveVariations.java
>
> Method createTempFile() creates "/tmp/file*" that it causes file copy permission issue when running through jtreg.
>
> Create files for method "createTempFile()" passing in the current path(jtreg_test_jdk_java_nio_file_Files_CopyMoveVariations_java/scratch or JTwork/scratch).
I changed the title of the issue in JBS to make it clear that this is an issue with the test and file permissions and not a bug in createTempFile.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17235#issuecomment-1874914210
More information about the nio-dev
mailing list