geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-3590) javamail TextHandler fails when content stream is ByteArrayInputStream.
Date Thu, 08 Nov 2007 11:02:50 GMT

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

Rick McGuire closed GERONIMO-3590.
----------------------------------

    Resolution: Fixed

Committed revision 593128.

> javamail TextHandler fails when content stream is ByteArrayInputStream.
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-3590
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3590
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>            Reporter: Rick McGuire
>            Assignee: Rick McGuire
>
> The TextHandler included with the javamail spec code gets an I/O failure when the contentStream()
used to read the text is a ByteArrayInputStream.  The read method for ByteArrayInputStream
does not appear to return a -1 value for an EOF (it returns 0), so the InputStreamReader wrappered
around the stream is throwing an exception on the first 0 return.  

-- 
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