You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "efegokdemir (via GitHub)" <gi...@apache.org> on 2026/09/24 09:43:30 UTC
[PR] Improve malformed input error details [maven-filtering]
efegokdemir opened a new pull request, #392:
URL: https://github.com/apache/maven-filtering/pull/392
### Rationale for this change
Malformed resource input currently reports only the low-level byte count, which does not identify the configured charset.
### What changes are included in this PR?
- Include the charset in filtering errors caused by `MalformedInputException`.
- Add regression coverage for malformed UTF-8 input.
### Are these changes tested?
- `mvn -Dspotless.skip=true test` — passed (76 tests)
- `git diff --check` — passed
- Checkstyle — passed
- Spotless could not run locally because the bundled `palantir-java-format` fails with a JDK `NoSuchFieldError`; this is unrelated to the change.
### Are there any user-facing changes?
Yes. Malformed input errors now identify the charset used for reading the resource.
Closes #327
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improve malformed input error details [maven-filtering]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #392:
URL: https://github.com/apache/maven-filtering/pull/392
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org