RFR 9 8058464 (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Alan Bateman
Alan.Bateman at oracle.com
Mon Mar 9 20:54:23 UTC 2015
On 09/03/2015 19:47, Roger Riggs wrote:
> Please review this update to specify that ProcessBuilder methods throw
> NullPointerException
> when arguments are null. The implementation behavior is unchanged and
> correct
> but the specification of NPE is missing for methods redirectInput,
> redirectOutput, and redirectError.
>
> The choice of a single class javadoc statement applies to all methods
> and @throws clauses
> on individual methods are redundant.
>
> Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-npe-8058464/
Looks good to me.
-Alan
More information about the core-libs-dev
mailing list