You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2008/04/24 08:37:21 UTC

[jira] Closed: (COCOON-2192) CachingOutputStream does not cache all contents.

     [ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörg Heinicke closed COCOON-2192.
---------------------------------

    Resolution: Fixed

Patch applied. Thanks, Steven.

> CachingOutputStream does not cache all contents.
> ------------------------------------------------
>
>                 Key: COCOON-2192
>                 URL: https://issues.apache.org/jira/browse/COCOON-2192
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.11, 2.2
>            Reporter: Steven Dolg
>            Assignee: Jörg Heinicke
>             Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
>
>         Attachments: CachingOutputStream.txt, CachingOutputStreamTest.txt
>
>
> 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".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.