RFR 9 8058464 (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Martin Buchholz
martinrb at google.com
Mon Mar 9 19:52:45 UTC 2015
Seems alright.
On Mon, Mar 9, 2015 at 12:47 PM, Roger Riggs <Roger.Riggs at oracle.com> 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/
>
> Issue:
> 8058464 (process spec) ProcessBuilder.redirectXXX throws unspecified
> NPE <https://bugs.openjdk.java.net/browse/JDK-8058464>
>
> Roger
>
>
More information about the core-libs-dev
mailing list