You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Steven Dolg (JIRA)" <ji...@apache.org> on 2008/04/04 22:15:25 UTC
[jira] Updated: (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 ]
Steven Dolg updated COCOON-2192:
--------------------------------
Attachment: CachingOutputStreamTest.txt
A patch with a unit test that demonstrates the problem.
Relative to "core\cocoon-pipeline\cocoon-pipeline-impl".
> 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.2-dev (Current SVN)
> Reporter: Steven Dolg
> Attachments: 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.