Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      It would be nice ... if the I/O classes defined an EOF constant that
      people could use to check for EOF rather than using -1,like this:

           while (System.in.read() != EOF)
                  . . .

        Attachments

          Activity

            People

            • Assignee:
              mr Mark Reinhold
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: