Skip to content

Update lz4-java to 1.11.1 - #17061

Merged
chrisvest merged 1 commit into
4.2from
update-lz4-java-1.11.1-4.2
Jul 6, 2026
Merged

chrisvest merged 1 commit into
4.2from
update-lz4-java-1.11.1-4.2

Conversation

@yawkat

@yawkat yawkat commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

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.

@yawkat
yawkat requested a review from chrisvest July 6, 2026 16:56
@yawkat yawkat added dependencies Pull requests that update a dependency file needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Jul 6, 2026
@chrisvest
chrisvest enabled auto-merge (squash) July 6, 2026 16:58
@chrisvest
chrisvest merged commit de5d276 into 4.2 Jul 6, 2026
23 checks passed
@chrisvest
chrisvest deleted the update-lz4-java-1.11.1-4.2 branch July 6, 2026 18:06
@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17062

@github-actions github-actions Bot removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jul 6, 2026
@chrisvest chrisvest added this to the 4.2.16.Final milestone Jul 6, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants