mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259
Reviewed-by: alanb, jpai
This commit is contained in:
parent
3f401b3091
commit
9c39932672
2 changed files with 46 additions and 1 deletions
|
@ -572,7 +572,7 @@ final class ProcessImpl extends Process {
|
|||
}
|
||||
if (Thread.interrupted())
|
||||
throw new InterruptedException();
|
||||
return exitValue();
|
||||
return getExitCodeProcess(handle);
|
||||
}
|
||||
|
||||
private static native void waitForInterruptibly(long handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue