GeezerVison is showing github.com — Update lz4-java to 1.11.1 by yawkat · Pull Request #17060 · netty/netty
Conversation
yawkat
commented
Jul 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
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.10.1 to 1.11.1 in the root pom.xml.
Also extend the Revapi differences allowlist for the two net.jpountz.lz4 JNI fast-reset compressor classes that the updated dependency exposes through LZ4Factory, which Netty already exposes as part of its public LZ4 customization API.
Result:
The codec module continues to inherit the centrally managed dependency version, and the API compatibility check accounts for the updated dependency's newly exposed supplementary types. Locally verified with:
git diff --check
JAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty ./mvnw -N -DskipTests validate
JAVA_HOME=/usr/lib/jvm/java-25-openjdk MAVEN_USER_HOME=/tmp/opencode/m2-netty ./mvnw -B -ntp --file pom.xml verify -DskipTests=true passed through the previously failing netty-codec Revapi check; the local run later stopped in native epoll setup because this environment lacks the native build/source artifact setup.
No associated issue.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates Netty’s centrally managed optional at.yawk.lz4:lz4-java dependency to the latest release to pick up upstream security fixes, and aligns API-diff tooling configuration with the updated dependency’s exposed types.
Changes:
- Bump managed
at.yawk.lz4:lz4-java from 1.10.1 to 1.11.1 in the root pom.xml.
- Extend the Revapi differences ignore list to account for newly exposed
net.jpountz.lz4 classes surfaced via LZ4Factory.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.2.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.