This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new 16c40c4a4 SeekableInMemoryByteChannel.position(long) shouldn't throw
an IllegalArgumentException for a new positive position that's too large #756
16c40c4a4 is described below
commit 16c40c4a4de7903fdd77bab7b1bf0365eb53cace
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 8 12:40:44 2025 -0500
SeekableInMemoryByteChannel.position(long) shouldn't throw an
IllegalArgumentException for a new positive position that's too
large #756
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d89656547..19a18467c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -116,6 +116,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="Gary
Gregory">SeekableInMemoryByteChannel.position(long) now throws
IllegalArgumentException instead of IOException when the position request is
negative, complying with the SeekableByteChannel.position(long)
contract.</action>
<action type="fix" dev="pkarwasz" due-to="Piotr P. Karwasz">Makes
TarUtils final and cleans up protected methods #712.</action>
<action type="fix" dev="pkarwasz" due-to="Piotr P. Karwasz">All archive
input stream constructors now throw IOException.</action>
+ <action type="fix" dev="pkarwasz" due-to="Gary Gregory, Piotr P.
Karwasz">SeekableInMemoryByteChannel.position(long) shouldn't throw an
IllegalArgumentException for a new positive position that's too large
#756.</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add
MemoryLimitException.MemoryLimitException(long, long).</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add
CompressException.CompressException(String, Object...).</action>