mirror of https://github.com/sbt/sbt.git
Fixes https://github.com/sbt/sbt/issues/6558 Problem ------- sbt uses SecurityManager feature of JDK to trap `sys.exit` call during `run`-like tasks, since we emulate `run` and `console` as function calls. JDK 17 deprecated SecurityManager and it's printing warnings. Solution -------- About 10 years go, `exit` was a convenient way of quitting both Scala REPL and sbt shell. Scala 2.11 broke this by removing the `Predef.exit`. We still need to worry about `run` potentially calling `sys.exit` but that can be handled using fork feature. In the long-run, it probably is better to be JDK 17 compatible. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||