Update lz4-java to 1.11.1 - #17061
Merged
Merged
Conversation
Co-Authored-By: multicode <[email protected]>
chrisvest
approved these changes
Jul 6, 2026
Contributor
|
Auto-port PR for 5.0: #17062 |
normanmaurer
pushed a commit
that referenced
this pull request
Jul 7, 2026
Auto-port of #17061 to 5.0 Cherry-picked commit: de5d276 --- Motivation: Manual port of #17060 to `4.2`; the automatic port failed due to cherry-pick conflicts. Update the optional LZ4 Java dependency used by Netty's compression codec to the latest published `at.yawk.lz4:lz4-java` release. (Resolves GHSA-xx22-p4ch-683r ) Modification: Bump the managed `at.yawk.lz4:lz4-java` dependency version from `1.11.0` to `1.11.1` in the root `pom.xml`. The 4.2 branch already has the Revapi differences allowlist entries for the two `net.jpountz.lz4` JNI fast-reset compressor classes exposed through `LZ4Factory`, so no additional Revapi configuration changes were needed. Result: The `netty-codec-compression` module continues to inherit the centrally managed dependency version. Locally verified with: - `git diff --check` - `JAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty-4.2 ./mvnw -N -DskipTests validate` - `JAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty-4.2 ./mvnw -pl codec-compression -DskipTests help:effective-pom -Doutput=/tmp/opencode/netty-4.2-effective-codec-compression-pom.xml` and confirmed the effective POM contains `at.yawk.lz4:lz4-java:1.11.1`. No associated issue. Co-authored-by: Jonas Konrad <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation:
Manual port of #17060 to
4.2; the automatic port failed due to cherry-pick conflicts.Update the optional LZ4 Java dependency used by Netty's compression codec to the latest published
at.yawk.lz4:lz4-javarelease.(Resolves GHSA-xx22-p4ch-683r )
Modification:
Bump the managed
at.yawk.lz4:lz4-javadependency version from1.11.0to1.11.1in the rootpom.xml.The 4.2 branch already has the Revapi differences allowlist entries for the two
net.jpountz.lz4JNI fast-reset compressor classes exposed throughLZ4Factory, so no additional Revapi configuration changes were needed.Result:
The
netty-codec-compressionmodule continues to inherit the centrally managed dependency version. Locally verified with:git diff --checkJAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty-4.2 ./mvnw -N -DskipTests validateJAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty-4.2 ./mvnw -pl codec-compression -DskipTests help:effective-pom -Doutput=/tmp/opencode/netty-4.2-effective-codec-compression-pom.xmland confirmed the effective POM containsat.yawk.lz4:lz4-java:1.11.1.No associated issue.