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

java.io.InputStream.read(byte[]) has a typo

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      x86
    • OS:
      windows_xp

      Description



      Name: rmT116609 Date: 08/18/2004


      A DESCRIPTION OF THE PROBLEM :

      public int read(byte[] b)
               throws IOException

      ---
      ---

      Returns:
      the total number of bytes read into the buffer, or -1 is there is no more data because the end of the stream has been reached.


      Actual:
      or -1 is there is no more..............

      Expected:
      or -1 if there is no more..............


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html#read(byte[])
      (Incident Review ID: 297534)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shainessunw Suzette Haines (Inactive)
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: