Skip to content

Auto-port 5.0: Codec-compression: Add LZF decompressor - #17169

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-17147-to-5.0
Jul 29, 2026
Merged

chrisvest merged 1 commit into
5.0from
auto-port-pr-17147-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #17147 to 5.0
Cherry-picked commit: 5eb999b


Motivation:

The decompressor API migration tracked by #16743 is being split into small per-format PRs. LZF still needs a standalone implementation for the new pull-based Decompressor API.

Modification:

Add LzfDecompressor, extracted from the LZF decoder logic in #15667 and adapted to InputBufferingDecompressor / DefensiveDecompressor.

Add LzfDecompressorTest using the shared AbstractDecompressorTest harness.

This intentionally does not add the backpressure handler tests from #15667 because that handler infrastructure is tracked separately.

Result:

LZF can be decompressed through the new Decompressor API.

Verification:

  • ./mvnw -Dmaven.user.home=/tmp/opencode/m2-wrapper -pl codec-compression -am -Dtest=LzfDecompressorTest -Dsurefire.failIfNoSpecifiedTests=false test
  • ./mvnw -Dmaven.user.home=/tmp/opencode/m2-wrapper -pl codec-compression -am verify

Related to #16743.

Motivation:

The decompressor API migration tracked by #16743 is being split into
small per-format PRs. LZF still needs a standalone implementation for
the new pull-based `Decompressor` API.

Modification:

Add `LzfDecompressor`, extracted from the LZF decoder logic in #15667
and adapted to `InputBufferingDecompressor` / `DefensiveDecompressor`.

Add `LzfDecompressorTest` using the shared `AbstractDecompressorTest`
harness.

This intentionally does not add the backpressure handler tests from
#15667 because that handler infrastructure is tracked separately.

Result:

LZF can be decompressed through the new `Decompressor` API.

Verification:

- `./mvnw -Dmaven.user.home=/tmp/opencode/m2-wrapper -pl
codec-compression -am -Dtest=LzfDecompressorTest
-Dsurefire.failIfNoSpecifiedTests=false test`
- `./mvnw -Dmaven.user.home=/tmp/opencode/m2-wrapper -pl
codec-compression -am verify`

Related to #16743.

---------

Co-authored-by: multicode <[email protected]>
(cherry picked from commit 5eb999b)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Jul 28, 2026
@chrisvest
chrisvest enabled auto-merge (squash) July 28, 2026 18:41
@testlens-app

testlens-app Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: c58096e
▶️ Tests: 0 executed
⚪️ Checks: 14/14 completed


Learn more about TestLens at testlens.app.

@chrisvest
chrisvest merged commit bd30c0c into 5.0 Jul 29, 2026
21 of 23 checks passed
@chrisvest
chrisvest deleted the auto-port-pr-17147-to-5.0 branch July 29, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants