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

DataInputStream.readLine does not document its EOF handling

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.5
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Verified

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: