jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JCR-2250) Base64 bug - last buffer not flushed
Date Mon, 10 Aug 2009 07:14:14 GMT

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

Stefan Guggisberg reassigned JCR-2250:

    Assignee: Stefan Guggisberg

> Base64 bug - last buffer not flushed
> ------------------------------------
>                 Key: JCR-2250
>                 URL: https://issues.apache.org/jira/browse/JCR-2250
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 1.5.4
>         Environment: RedHat Linux 5.2 Client, x86-64
>            Reporter: Dave Marion
>            Assignee: Stefan Guggisberg
> I found an issue when using the org.apache.jackrabbit.util.Base64.encode(InputStream
in, OutputStream out) method. It appears that the issue is that the last buffer is not flushed
on the Writer that it creates before returning from the method. I was able to work around
this issue by creating a Writer my own program, and call another encode method, and then call
the flush() method before using the data. The source in trunk appears the same.

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

View raw message