mirror of https://github.com/sbt/sbt.git
When a forked test process crashes (e.g., due to UnsupportedClassVersionError), sbt would hang forever waiting for test results. This happened because notifyExit only completed the promise with success, regardless of the exit code. This fix checks the exit code and fails the promise if the process exited with a non-zero code, allowing sbt to properly report the failure and exit. Fixes #7429 |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala/sbt | ||