RFR(S) 8222500: runtime/8176717/TestInheritFD.java failed with java.nio.file.NoSuchFileException: /tmp/communication7071713601211876892.txt
Harold Seigel
harold.seigel at oracle.com
Wed May 1 18:25:05 UTC 2019
Hi,
Please review this fix for JDK-8222500. The fix changes the test to use
jdk.test.lib.Utils.createTempFile(), instead of
java.io.File.createTempFile(). This means that the temporary files will
no longer be created in /tmp/, where they can potentially be changed or
deleted by other processes. And, secondly, that the temporary files
will get cleaned up.
Open Webrev:
http://cr.openjdk.java.net/~hseigel/bug_8222500/webrev/index.html
JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8222500
The modified test was run successfully on Linux-X64, Mac, and Windows.
Thanks, Harold
More information about the hotspot-runtime-dev
mailing list