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
Tue Jul 12 16:40:05 UTC 2016
On Jul 11, 2016, at 11:28 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> 2) LotsOfCancels
>>
>> Add (probably redundant) deletion of temporary file tree.
>>
> The tests in this area use TestUtil.removeAll so you don't need to add deleteFileTree. Also if you expand the scope of the try/finally then you can get rid of deleteOnExit.
The change for https://bugs.openjdk.java.net/browse/JDK-8160687 showed that LotsOfCancels was leaving files around before this change so there must be something else going on which needs to be identified.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160712/8436ba0e/attachment-0001.html>
More information about the nio-dev
mailing list