leskin-in opened a new pull request #175: URL: https://github.com/apache/commons-io/pull/175
Throw an `IllegalArgumentException` when an `InputStream` provided to `IOUtils.toByteArray()` is longer than `Integer.MAX_VALUE` bytes. Processing of such long arrays is not possible, as arrays with `long` indices are [forbidden](https://docs.oracle.com/javase/specs/jls/se14/html/jls-10.html#jls-10.4) by Java language specification. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
