Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #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.
- Loading branch information
Showing
9 changed files
with
41 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.