8013647: JPRT unable to clean-up after tests that leave file trees with loops

Chris Hegarty chris.hegarty at oracle.com
Tue Apr 30 12:32:39 PDT 2013


Using TestUtil.removeAll to do the clean-up should take care of the 
issue. Looks fine to me.

-Chris.

On 04/30/2013 08:18 PM, Alan Bateman wrote:
>
> As part of 8012930 [1], the tests for Files.walkFileTree were split out
> into individual tests so they aren't run by a shell tests. A side effect
> of this is that the tests leave a file tree that is problematic to
> clean-up because it contains loops (sym links to ancestor directories).
>
> The following webrev "fixes" these four tests so that the clean up after
> themselves:
>
> http://cr.openjdk.java.net/~alanb/8013647/webrev/
>
> Tim and Kumar are familiar with the issue and may be able to review.
>
> -Alan
>
> [1] http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8b07b318f713


More information about the nio-dev mailing list