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

Roger Riggs rriggs at openjdk.org
Tue Nov 8 16:04:25 UTC 2022


> 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.

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Test cleanup as suggested by review comments.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10680/files
  - new: https://git.openjdk.org/jdk/pull/10680/files/dfb2323c..e7c67d26

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10680&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10680&range=00-01

  Stats: 8 lines in 1 file changed: 0 ins; 4 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/10680.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10680/head:pull/10680

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


More information about the core-libs-dev mailing list