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 19:07:36 UTC 2019


Thanks Coleen!

Harold

On 5/1/2019 3:00 PM, coleen.phillimore at oracle.com wrote:
>
> Nice fix.  Looks good to me.
> Coleen
>
> On 5/1/19 2:25 PM, Harold Seigel wrote:
>> 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