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] Resolved: (JCR-2250) Base64 bug - last buffer not flushed
Date Mon, 10 Aug 2009 11:50:14 GMT

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

Stefan Guggisberg resolved JCR-2250.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

fixed in svn r802754

thanks!

> 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
>             Fix For: 2.0.0
>
>
> 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.


Mime
View raw message