[jdk20] RFR: 8299689: Make use of JLine for Console as "opt-in"

Naoto Sato naoto at openjdk.org
Fri Jan 6 18:45:54 UTC 2023


Due to the fact that JLine spawns native processes to obtain terminal information on macOS/Linux, we decided to disable the JLine by default for performance degradation reasons. It is still possible to enable it by specifying it on the command line with `jdk.console` system property (not a public one though). Once we have a solution to avoid spawning processes, JLine may be back for use in the future.

-------------

Commit messages:
 - JIRA issue number fix
 - Fixing another test
 - Fixed the default in test
 - Disable JLine

Changes: https://git.openjdk.org/jdk20/pull/88/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=88&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299689
  Stats: 34 lines in 3 files changed: 18 ins; 1 del; 15 mod
  Patch: https://git.openjdk.org/jdk20/pull/88.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/88/head:pull/88

PR: https://git.openjdk.org/jdk20/pull/88


More information about the core-libs-dev mailing list