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

roger riggs roger.riggs at oracle.com
Thu Jan 16 14:12:58 UTC 2014

Hi Alan,

I suspect that Solaris didn't support -p (as per the comment) but it was 
not worth
a lot of investigation for an old issue and old SE 6.


On 1/16/2014 3:45 AM, Alan Bateman wrote:
> 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