RFR: 8322881: Method createTempFile() causes file copy permission issue when running through jtreg

yaqsun duke at openjdk.org
Wed Jan 3 03:37:59 UTC 2024


testcase: java/nio/file/Files/CopyMoveVariations.java

Method createTempFile() creates "/tmp/file*" directory that it causes file copy permission issue when running through jtreg.

Create files and directories for method "createTempFile()" passing in the current path(jtreg_test_jdk_java_nio_file_Files_CopyMoveVariations_java/scratch or JTwork/scratch).

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

Commit messages:
 - 8322881: Method createTempFile() causes file copy permission issue when running through jtreg

Changes: https://git.openjdk.org/jdk/pull/17234/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17234&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322881
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/17234.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17234/head:pull/17234

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


More information about the nio-dev mailing list