8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system

Brian Burkhalter brian.burkhalter at oracle.com
Tue Jun 5 00:37:53 UTC 2018


On Jun 3, 2018, at 12:33 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> The Windows implementation look okay too, just a minor nit in the comment where it says "is appropriate" instead of "not empty”.

So modified.

> The Unix implementation could be a lot simpler, can you try this instead:

That is in effect how I did it on Windows. I thought the more cumbersome Unix implementation might be a tad faster. I have modified the Unix implementation to be like the one I already had on Windows.

http://cr.openjdk.java.net/~bpb/8201407/webrev.03/index.html

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180604/9f46dc34/attachment.html>


More information about the nio-dev mailing list