Commit 8271549
committed
Make Java detection resilient to unusuable installs
Previously, if any Java failed to run completely (rather than running
but exiting unsuccessfully) then spawnToResult would throw, so the
test would throw, so the whole check would fail. Now we just treat
errors like any other invalid exit.1 parent a9b11df commit 8271549
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments