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

DataInputStream.readLine does not document its EOF handling

XMLWordPrintable

    • 1.1.5
    • sparc
    • solaris_2.4
    • Verified

      Though most functions in DataInputStram (interface java.io.DataInput)
      indicate that they signal an EOF exception, readLine has no such
      documentation. In fact, rather than signaling, it returns null if
      it read no characters before EOF.



      john.bui@eng 1997-10-17

      No specific test case available. Implicity tested, closed with exposure.

            asommere Alan Sommerer (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: