RFR 8031961 ProcessBuilder.Basic should use NIO Files to copy files

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 16 08:45:49 UTC 2014


On 16/01/2014 03:22, Roger Riggs wrote:
> Please review this minor test improvement to replace spawning /bin/cp
> to copy files with NIO Files.copy.
>
> Webrev:
>  http://cr.openjdk.java.net/~rriggs/webrev-process-cp-8031961/
Just looking at JDK-6686751 and it's not clear what the issue was with 
-p. I assume we want the permissions copied (so COPY_ATTRIBUTES is 
right), it's just not clear what the "Invalid argument" was about and 
whether this was an older version of Solaris or a cp version that didn't 
support these options?

-Alan.



More information about the core-libs-dev mailing list