RFR 9 8058464 (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Roger Riggs
Roger.Riggs at Oracle.com
Mon Mar 9 19:47:26 UTC 2015
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