Integrated: 8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259

Roger Riggs rriggs at openjdk.org
Mon Nov 14 14:20:37 UTC 2022


On Wed, 12 Oct 2022 16:30:07 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Process.waitFor() throws IllegalThreadStateException when a process returns an exit code of 259.
> As described in the bug report, `waitFor()` should not be sensitive to the exit value.
> Previously, it erroneously threw IllegalStateException.
> Added a test to verify.

This pull request has now been integrated.

Changeset: 9c399326
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9c399326724dc47eae90076d1237ff582b783863
Stats:     46 lines in 2 files changed: 45 ins; 0 del; 1 mod

8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259

Reviewed-by: alanb, jpai

-------------

PR: https://git.openjdk.org/jdk/pull/10680


More information about the core-libs-dev mailing list