> 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!)

Naoto Sato has updated the pull request incrementally with one additional 
commit since the last revision:

  Reflects review comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23993/files
  - new: https://git.openjdk.org/jdk/pull/23993/files/960e6dc5..92c9a344

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23993&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23993&range=00-01

  Stats: 19 lines in 1 file changed: 10 ins; 3 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/23993.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23993/head:pull/23993

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

Reply via email to