JDK 9 RFR of 8160220: (fs) Tests in jdk/test/java/nio/file/WatchService leave directory trees behind
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Jul 13 14:57:48 UTC 2016
On Jul 12, 2016, at 10:36 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 12/07/2016 21:36, Brian Burkhalter wrote:
>> :
>> Here’s an updated version which uses FileUtils.deleteFileTreeWithRetry() and does not use deleteOnExit():
>>
>> http://cr.openjdk.java.net/~bpb/8160220/webrev.01/
>>
> Thinking about, this isn't needed. Since you've moved to the work directory then jtreg will do the clean-up (including retry). So the change should be to just move from /tmp to the work directory and you should be all set.
So I should be able to remove FileUtils.deleteFileTreeWithRetry() and the jdk.testlibrary references in *both* of these tests as well as the original deleteFileTree() in DeleteInterference.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160713/72127de4/attachment.html>
More information about the nio-dev
mailing list