geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pieper, Aaron (SAIC)" <Piep...@Pragmatics.com>
Subject Unexpected behavior from QuotedPrintableDecoderStream?
Date Thu, 15 May 2008 20:45:47 GMT
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?

 

- Aaron


Mime
View raw message