Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351435 Change the default Console implementation back to the built-in one in `java.base` module
  3. JDK-8351576

Release Note: Default Console Implementation Back to the Built-in One in `java.base` Module

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • core-libs
    • 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.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: