mehmet-karaman commented on PR #655:
URL: https://github.com/apache/commons-compress/pull/655#issuecomment-2746509721

   Hi @garydgregory,
   
   I saw that you have added a new static field which, which causes a problem. 
In ZipFile line 96, which makes the com.github.luben.zstd.ZstdInputStream 
necessary.. Now the maven dependency isn't optional anymore.
   
   `Caused by: java.lang.ExceptionInInitializerError: Exception 
java.lang.NoClassDefFoundError: com/github/luben/zstd/ZstdInputStream [in 
thread "main"]
        at 
org.apache.commons.compress.archivers.zip.ZipFile.<clinit>(ZipFile.java:96)
        at 
org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.getNextZipEntry(ZipArchiveInputStream.java:702)
        at 
org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.getNextEntry(ZipArchiveInputStream.java:645)
        at zipeditor.model.ZipModel.detectType(ZipModel.java:119)`
   
   Is it maybe better to extract this to a utility class? 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to