On Tue, 11 Mar 2025 18:32:10 GMT, Naoto Sato <na...@openjdk.org> wrote:

> JDK has been using JLine based Console implementation, in JDK20 as opt-in, 
> then in JDK22 as the default. While it has been providing rich functionality 
> for Console, it is increasingly difficult to maintain as a Console 
> implementation. In light of the on-ramp feature 
> (https://bugs.openjdk.org/browse/JDK-8344699), which proposes switching 
> `java.lang.IO` class to use `System.in` and `System.out` instead of Console, 
> reverting the default Console implementation to JDK's built-in one in the 
> java.base module is considered desirable. Some tests are modified along with 
> this change, among them test/jdk/java/io/Console/ConsolePromptTest.java 
> changes were contributed by @lahodaj (thanks!)

This pull request has now been integrated.

Changeset: 42477442
Author:    Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/4247744266c7885dde52977de7646f766a9ad043
Stats:     128 lines in 9 files changed: 65 ins; 11 del; 52 mod

8351435: Change the default Console implementation back to the built-in one in 
`java.base` module

Co-authored-by: Jan Lahoda <jlah...@openjdk.org>
Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/23993

Reply via email to