We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9c829 commit 4c6daeeCopy full SHA for 4c6daee
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PosixResources.java
@@ -395,7 +395,7 @@ private int nextFreePid() {
395
396
private Process getChild(int pid) throws IndexOutOfBoundsException {
397
if (pid < 0) {
398
- return children.get(0); // we do not support process groups
+ throw new IndexOutOfBoundsException("we do not support process groups");
399
} else {
400
return children.get(pid);
401
}
0 commit comments