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

java.io.PipedOutputStream spec does not describe flush() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.1
    • 1.0, 1.0.2
    • docs
    • 1.1.1
    • x86, sparc
    • solaris_2.5, windows_nt
    • Not verified



      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 void flush() method of class java.io.PipedOutputStream.

      It is seen from the source code that java.io.PipedOutputStream class overrides
      flush method of java.io.OutputStream so that it notifies the waiting reader.
      However, specification does not mention this fact (see item 22.17, p.725).

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

            dkramersunw Douglas Kramer (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: