hg: jdk9/sandbox/jdk: 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Mar 23 19:35:51 UTC 2015


Changeset: de81b4841beb
Author:    rriggs
Date:      2015-03-23 10:13 -0400
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/de81b4841beb

8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Summary: Implement checking for NPE in Process implementation before other conditions
Reviewed-by: martin, chegar

! src/java.base/unix/classes/java/lang/ProcessImpl.java
! src/java.base/windows/classes/java/lang/ProcessImpl.java
! test/java/lang/ProcessBuilder/Basic.java



More information about the jdk9-sandbox-changes mailing list