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


The following commit(s) were added to refs/heads/master by this push:
     new 52c57ecd3 Migrate from deprecated API
52c57ecd3 is described below

commit 52c57ecd3f9c9693bc5538cd1657ba3f1bee4dc9
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Aug 11 15:30:20 2026 -0400

    Migrate from deprecated API
---
 .../org/apache/commons/compress/archivers/ArchiveStreamFactory.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java 
b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
index c745b1070..34718100b 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
@@ -509,8 +509,7 @@ public <I extends ArchiveInputStream<? extends 
ArchiveEntry>> I createArchiveInp
         } catch (final ArchiveException e) {
             throw e;
         } catch (final IOException e) {
-            throw new ArchiveException(
-                    "IOException while creating " + archiverName + " input 
stream: " + e.getMessage(), e);
+            throw new ArchiveException("IOException while creating " + 
archiverName + " input stream: " + e.getMessage(), (Throwable) e);
         }
     }
 

Reply via email to