Review Request - JDK-8006645: TEST_BUG: java/nio/file/Files/CopyAndMove.java failing intermittently (sol)

Chris Hegarty chris.hegarty at oracle.com
Wed Feb 20 10:21:37 UTC 2013


Looks ok to me Dan.

-Chris.

On 19/02/2013 23:44, Dan Xu wrote:
> HiAll,
>
> CopyAndMove.java test has failed in theregression testintermittently.
> This is due to some potential time precision loss in file copy and move
> operationswhen it tries to copy the last-modified-time to the target file.
>
> The fixwill only verify the last-modified-time at time resolution of
> secondlevelto avoid the precision loss. I also update the java doc of
> Files.move method to clarify it. Thanks!
>
> webrev: http://cr.openjdk.java.net/~dxu/8006645/webrev.00/
>
> -Dan
>
>


More information about the nio-dev mailing list