hg: jdk9/dev/jdk: 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
roger.riggs at oracle.com
roger.riggs at oracle.com
Mon Mar 23 19:30:39 UTC 2015
Changeset: de81b4841beb
Author: rriggs
Date: 2015-03-23 10:13 -0400
URL: http://hg.openjdk.java.net/jdk9/dev/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-dev-changes
mailing list