geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: Unexpected behavior from QuotedPrintableDecoderStream?
Date Fri, 16 May 2008 10:43:32 GMT
Pieper, Aaron (SAIC) wrote:
>
> It looks to me like QuotedPrintableDecoderStream’s read() method 
> doesn’t look like it fulfills the contract from InputStream. 
> InputStream says it will return -1 when there is no more data to be 
> read. However, QuotedPrintableDecoderStream returns 0 in this case. 
> The result is that IOUtils.copy() in commons-io will go into an 
> endless loop if it’s fed a QuotedPrintableDecoderStream.
>
> Should I go ahead and report this in JIRA?
>
Yes, please do.

> - Aaron
>


Mime
View raw message