8204915: (fs) Add some print diagnostics to java/nio/file/Files/CopyAndMove.java

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jun 14 16:13:12 UTC 2018


On Jun 14, 2018, at 9:06 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> The main method chooses the directory (or directories if possible) and I think that is the place to add the trace messages. I'd like to avoid the getFileStore as we've had so many issues with this hanging on specific machines (due to stale NFS mounts for example).
> 
>> […]
>> 
> I hope you see my point that the catching of Exception in these methods is a bit ugly. If you really need to print out all the attributes then it can be done before the asserts.

I’ll file another issue to address these problems.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180614/4ad012d4/attachment-0001.html>


More information about the nio-dev mailing list