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

Dan Xu dan.xu at oracle.com
Tue Feb 19 23:44:59 UTC 2013


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130219/1e912f6a/attachment.html 


More information about the nio-dev mailing list