Typo in FilterOutputStream.write Java API Documentation

XMLWordPrintable

      FULL PRODUCT VERSION :
      java -version 1.8

      A DESCRIPTION OF THE PROBLEM :
      https://docs.oracle.com/javase/8/docs/api/java/io/FilterOutputStream.html#write-byte:A-int-int-
      The write(byte[] b, int off, int len) method documentation states:
      Note that this method does not call the write method of its underlying input stream with the same arguments. Subclasses of FilterOutputStream should provide a more efficient implementation of this method.

      FilterOutputStream has an underlying OUTPUT stream, not an underlying INPUT stream.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Go to the javadoc: https://docs.oracle.com/javase/8/docs/api/java/io/FilterOutputStream.html#write-byte:A-int-int-

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      You will see the typo

      REPRODUCIBILITY :
      This bug can be reproduced always.

            Assignee:
            Pallavi Sonal (Inactive)
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: