8205062: (fs) Improve some print diagnostics in java/nio/file/Files/CopyAndMove.java

Alan Bateman Alan.Bateman at oracle.com
Fri Jun 15 14:56:58 UTC 2018



On 15/06/2018 01:53, Brian Burkhalter wrote:
> I’ve added a second version of assertTrue which allows for printing 
> the information while retaining the line number correlation between 
> the exception and the assert method.
>
> http://cr.openjdk.java.net/~bpb/8205062/webrev.00/ 
> <http://cr.openjdk.java.net/%7Ebpb/8205062/webrev.00/>
>
This looks much better. In printDirInfo then store can't be null 
(right?) so I assume that check can be removed.

-Alan


More information about the nio-dev mailing list