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

Jaikiran Pai jpai at openjdk.org
Mon Jan 9 01:23:58 UTC 2023


On Fri, 6 Jan 2023 17:57:47 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> 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.

Marked as reviewed by jpai (Reviewer).

Hello Naoto, this looks fine to me. The `RedirectTest.java` will need an update on the copyright year.

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

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


More information about the core-libs-dev mailing list