This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 315513c9cce130e38809fc40054fd7ed85d3e981 Author: Gary Gregory <[email protected]> AuthorDate: Sun Aug 9 19:03:15 2026 -0400 TAR private methods now throws the IOException subclass ArchiveException. --- .../org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java index 9dc07d1de..7014d6226 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java @@ -418,7 +418,7 @@ private boolean isGNULongName(final String name) { * @return An {@link ArArchiveEntry} object containing the parsed metadata. * @throws IOException if the metadata cannot be parsed correctly. */ - private ArArchiveEntry parseEntry(final byte[] headerBuf) throws IOException { + private ArArchiveEntry parseEntry(final byte[] headerBuf) throws ArchiveException { // Parse the entry metadata from the header buffer try { final String name = ArchiveUtils.toAsciiString(headerBuf, NAME_OFFSET, NAME_LEN).trim();
