JDK 9 RFR of 8160220: (fs) Tests in jdk/test/java/nio/file/WatchService leave directory trees behind

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 13 05:36:33 UTC 2016



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.

-Alan


More information about the nio-dev mailing list