jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2250) Base64 bug - last buffer not flushed
Date Sat, 08 Aug 2009 01:37:15 GMT
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

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