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.ri...@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.

Reply via email to