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

Error in docs for Reader.read( char[ ] )

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • generic
    • generic



      Name: krC82822 Date: 10/15/2000


      Its a documentation error.

      The JavaDocs for the read( char[] ) method in the java.io.Reader class says
      that it returns the number of bytes read. That should be the number of
      characters read. The other read method that adds the offest and length says it
      returns the number of characters and that is what the first function calls.
      (Review ID: 110517)
      ======================================================================

            shommel Scott Hommel (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: