RFR: 8352693: Use a simpler console reader instead of JLine for System.console()

Jan Lahoda jlahoda at openjdk.org
Wed Mar 26 10:28:12 UTC 2025


On Wed, 26 Mar 2025 08:55:09 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Can you coordinate with Naoto on this? There is a CSR in progress to switch Console back to using the java.base implementation by default.

Right - but that still keeps the existing JLine-based provider, and so the problems it has still exist (albeit with a lower severity). This proposal is not the only sole possibility, of course. Other possibilities include removing the JLine-based provider, or fixing the problems in the JLine provider one-by-one. I don't object to any of these possibilities, although I didn't want to offer them in the first step.

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

PR Comment: https://git.openjdk.org/jdk/pull/24242#issuecomment-2753912618


More information about the kulla-dev mailing list