Calling readLine(null...) or readPassword(null...) on System.console() hangs jshell

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 23
    • Affects Version/s: 23
    • Component/s: tools
    • None
    • b26

      After this input, jshell hangs:

      jshell> System.console().readLine(null)

      The result of such a call should be NPE as per Console class-level specification.

            Assignee:
            Jan Lahoda
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: