The GitHub Actions job "Java CI" on commons-io.git/master has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
fb917b5e6f090e9a6326615d6d826b18f65a4d54 / Piotr P. Karwasz 
<[email protected]>
feat: replace IAE with IOException on byte array overflow (#785)

The method `IOUtils#toByteArray(InputStream)` previously threw an 
`IllegalArgumentException` when the number of bytes read exceeded what could be 
stored in a `byte[]`.

This change updates the method to throw an `IOException` instead, which is more 
semantically appropriate for stream-reading failures. A dedicated test has been 
added to verify this behavior.

Report URL: https://github.com/apache/commons-io/actions/runs/17916651133

With regards,
GitHub Actions via GitBox

Reply via email to