RFR: 8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259 [v2]
Jaikiran Pai
jpai at openjdk.org
Thu Nov 10 12:26:30 UTC 2022
On Tue, 8 Nov 2022 16:04:25 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.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Test cleanup as suggested by review comments.
Thank you Roger for the reference to that paragraph in the documentation. I had read that page previously but I think I overlooked that section. Also thank you for the detail about the thread interrupt handling. What you state makes sense.
-------------
PR: https://git.openjdk.org/jdk/pull/10680
More information about the core-libs-dev
mailing list