The java.io.PipedInputStream specification does not describe available() method

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: 1.0.2
    • Component/s: docs
    • sparc
    • solaris_2.5



      Name: saf@russia Date: 09/06/96


      This bug was found by St.Petersburg Java SQE team (by Stanislav Avzan).

      The Java Language specification (Version 1.0 - August 1, 1996) does not describe
      public int available() method of class java.io.PipedInputStream.

      It is seen from the source code that java.io.PipedInputStream class overrides
      available method of java.io.InputStream so that it returns the actual number of
      bytes available instead of 0.
      However, specification does not mention this fact (see item 22.5, p.687).

      Workaround:
      None
      ======================================================================

            Assignee:
            J. Duke
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: