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

(spec) ByteArrayInputStream treats bytes, not characters

XMLWordPrintable

    • b10

      A DESCRIPTION OF THE PROBLEM :

      There are several places at this document where 'character' is erroneously used.
      They should be replaced by 'byte'.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -

      Example at description of field count:
      The index one greater than the last valid byte in the input stream buffer.

      ACTUAL -

      The index one greater than the last valid character in the input stream buffer.


      URL OF FAULTY DOCUMENTATION :
      file:///C:/Program Files/Java/jdk1.6.0/docs/api/java/io/ByteArrayInputStream.html

            bpb Brian Burkhalter
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: