https://bz.apache.org/bugzilla/show_bug.cgi?id=65639

Andreas Beeker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #20 from Andreas Beeker <[email protected]> ---
I don't understand the current version of IOUtils.toByteArray.
It looks like the length parameter is now supposed to be Integer.MIN_VALUE for
reading until EOF.

I've noticed that reading from a socket with IOUtils.toByteArray(is, 
getMaxTimestampResponseSize()) isn't working anymore.

So if MIN_VALUE is the new MAX_VALUE, that's ok, and we need to adapt the
javadocs. This only hits people using the "internal" api and don't know about
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to