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

Inconsistency in doc for java.io.Reader.read()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.1, 1.3.0
    • docs
    • kestrel
    • x86, sparc
    • solaris_2.5, windows_95



      Name: dfC67450 Date: 08/09/99



      Javadoc says about java.io.Reader.read():

      ...
        returns:
           The character read, as an integer in the range 0 to 16383 (0x00-0xffff),
           or -1 if the end of the stream has been reached
      ...


      Ranges 0-16383 and 0x00-0xFFFF are non equal.

      ======================================================================

            shommel Scott Hommel (Inactive)
            fdasunw Fda Fda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: