This is an automated email from the ASF dual-hosted git repository. bodewig pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit ed32eb968ef124b9c0e19ccdda2c9d60dbfe451e Author: Stefan Bodewig <stefan.bode...@innoq.com> AuthorDate: Fri May 14 18:02:58 2021 +0200 actually, InputStream wants an IIOBE here --- .../org/apache/commons/compress/utils/BoundedArchiveInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/utils/BoundedArchiveInputStream.java b/src/main/java/org/apache/commons/compress/utils/BoundedArchiveInputStream.java index 4f7ec27..b8e351c 100644 --- a/src/main/java/org/apache/commons/compress/utils/BoundedArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/utils/BoundedArchiveInputStream.java @@ -71,7 +71,7 @@ public abstract class BoundedArchiveInputStream extends InputStream { return 0; } if (off < 0 || len > b.length - off) { - throw new IllegalArgumentException("offset or len are out of bounds"); + throw new IndexOutOfBoundsException("offset or len are out of bounds"); } if (len > end - loc) {