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 27e56060c Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.7-3 27e56060c is described below commit 27e56060cc10a81558d068f6ea56351979363dd5 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 3 15:12:52 2025 -0400 Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.7-3 Fixes https://github.com/luben/zstd-jni/pull/356 --- pom.xml | 2 +- src/changes/changes.xml | 2 +- .../compress/compressors/zstandard/ZstdCompressorOutputStream.java | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index bf71f07f8..e382f92b4 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. <dependency> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> - <version>1.5.7-2</version> + <version>1.5.7-3</version> <optional>true</optional> </dependency> <dependency> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e16e322e1..73a925be0 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -129,7 +129,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="add" dev="ggregory" due-to="Gary Gregory">Add ArchiveException.ArchiveException(Throwable).</action> <!-- UPDATE --> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory, sebb">Bump org.apache.commons:commons-parent from 72 to 83 #563, #567, #574, #582, #587, #595, #668.</action> - <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.7-2 #565, #578, #601, #616, #630, #640, #642.</action> + <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.7-3 #565, #578, #601, #616, #630, #640, #642. Version 1.5.7-3 fixes https://github.com/luben/zstd-jni/pull/356</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 #568.</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump commons-io:commons-io from 2.16.1 to 2.19.0 #575, #610.</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump com.github.marschall:memoryfilesystem from 2.8.0 to 2.8.1 #577.</action> diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java index cbfc840c5..9b6880b51 100644 --- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java @@ -471,8 +471,6 @@ private static ZstdOutputStream toZstdOutputStream(final Builder builder) throws .setChainLog(builder.chainLog) .setChecksum(builder.checksum) .setCloseFrameOnFlush(builder.closeFrameOnFlush) - // Avoid JVM segmentation fault in zstd-jni 1.5.7-2 - // TODO Remove ternary expression if/when https://github.com/luben/zstd-jni/pull/356 is fixed. .setDict(builder.dict != null ? builder.dict : ArrayUtils.EMPTY_BYTE_ARRAY) .setHashLog(builder.hashLog) .setJobSize(builder.jobSize)