RFR 9: 8132394 : (process) ProcessBuilder support for a pipeline of processes

Roger Riggs Roger.Riggs at Oracle.com
Thu Nov 12 14:24:02 UTC 2015


Hi Paul,

Thanks.

One followup comment comparing varargs to List<T>.

If there is any concern about concurrency, the callee still has to make 
a copy of the incoming
List/array before using/check it to get a consistent view.  Only the 
caller can rely on the immutability
of the argument (if it created it); not the callee.  Now if it were a 
concrete final type...
We still have to watch out for that.

Roger


On 11/12/2015 9:03 AM, Paul Sandoz wrote:
>> On 11 Nov 2015, at 19:11, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
>>
>> Hi Paul,
>>
>> Updated Webrev to use List<ProcessHandle> instead of ProcessHandle... varargs.
>>
>>    http://cr.openjdk.java.net/~rriggs/webrev-pipeline-8132394/
>>
> +1
>
> Paul.




More information about the core-libs-dev mailing list