-
Sub-task
-
Resolution: Unresolved
-
P4
-
25
-
generic
-
generic
JDK has been using a JLine-based Console implementation, available as an opt-in feature in JDK 20 and made the default in JDK 22. While JLine provides rich functionality for the Console, it has become increasingly difficult to maintain as a Console implementation. With this change, System.console() now returns the built-in Console implementation that was the default in JDK 21 and earlier. Note that it may return null when the Console is not attached to an interactive terminal.