Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2192

CachingOutputStream does not cache all contents.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.11, 2.2
    • 2.1.12, 2.3.0
    • * Cocoon Core
    • None
    • Patch available
    • Components: Pipeline - 1.0.0-RC1
    • Components: Pipeline

    Description

      The method "public void write(byte b[], int off, int len)" does not cache all relevant bytes to the internal buffer.

      The method actually copies all "len" bytes to its internal buffer, but increments the byte counter only by "len - off".

      Attachments

        1. CachingOutputStreamTest.txt
          4 kB
          Steven Dolg
        2. CachingOutputStream.txt
          0.8 kB
          Steven Dolg

        Activity

          People

            joerg.heinicke@gmx.de Jörg Heinicke
            steven.dolg Steven Dolg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: