System.console() for partially interactive environments

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • generic
    • generic

      As of JDK25, the default implementation of `System.console()` returns a `Console` instance only when the underlying platform provides interactive terminals for both input and output. However, there are cases where either of them is connected to pipe or file, i.e non-interactive. Returning a `Console` instance would be beneficial even for those cases.

            Assignee:
            Naoto Sato
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: