Skip to content

fix: migrate Tika 4 detection with large-stream compatibility - #24

Merged
loong10k merged 7 commits into
test/20261118from
feature/REQ-20261118-wandl-tika4-compat
Nov 17, 2026
Merged

loong10k merged 7 commits into
test/20261118from
feature/REQ-20261118-wandl-tika4-compat

Conversation

@loong10k

Copy link
Copy Markdown
Collaborator

Promotes the Tika 4 parser POM migration and MIME regressions from draft #22 through the required feature → test → main flow. The feature is rebased by merge onto current main, which already contains the recent dependency updates.

The previous draft introduced an arbitrary 1 MiB failure for markable InputStreams. This branch keeps full MIME detection for larger streams and retains caller ownership. New tests cover a >1 MiB PDF stream and a >1 MiB JAR whose manifest is near the end; both pass. ByteArrayInputStream and smaller markable streams retain position restoration; larger generic streams may advance, consistent with the earlier API behavior.

JDK 17 mvn clean verify: 122 tests, 0 failures/errors/skips, build success. The existing JaCoCo rule remains advisory (haltOnFailure=false) and reports about 82% against its 90% target. No coverage gate was weakened. Git diff check passed. This PR is the exact candidate for test validation.

@loong10k
loong10k merged commit 4dfc81c into test/20261118 Nov 17, 2026
2 checks passed
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.

1 participant