Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6341345

(spec) Console.reader() should make it clear that the reader requires line termination

    XMLWordPrintable

Details

    • b108
    • generic
    • generic
    • Verified

    Description

      Console.reader() is clear that the Reader doesn't return characters beyound the line termination for each invocation. However it's not clear that a line termination is required for the reader to return characters. It would be good to clarify this so that a single character read, via reader().read(), doesn't create the expectation that it works like a getch.

      Attachments

        Activity

          People

            sherman Xueming Shen
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: