efegokdemir opened a new pull request, #2161:
URL: https://github.com/apache/maven-resolver/pull/2161

   ## Summary
   
   Stop converting fatal JVM errors raised while reading or rewinding Jetty 
request content into ordinary failed content chunks.
   
   ## Changes
   
   - Catch `Exception` rather than `Throwable` in `PutTaskRequestContent` for 
recoverable channel failures.
   - Add regression coverage proving that errors from both `read()` and 
`rewind()` propagate to the caller.
   
   ## Testing
   
   - `mvn -pl maven-resolver-transport-jetty -am -DskipITs -Drat.skip 
-Dspotless.skip=true verify` — passed.
   - Focused pre-fix regression test failed as expected, then passed after the 
fix: `PutTaskRequestContentTest` (2 tests).
   - Full relevant reactor tests: 103 Jetty tests passed (10 skipped), with all 
upstream reactor tests passing.
   - Checkstyle and `git diff --check` — passed.
   - Spotless could not complete on the installed Java 27 runtime because the 
bundled Palantir formatter raises `NoSuchFieldError`; this is an 
environment/tooling compatibility issue affecting existing files.
   
   ## Notes
   
   - No overlapping open PR was found for #1988 or `PutTaskRequestContent`.
   - The complete diff was reviewed by the submitter; AI assistance was used 
during implementation.
   
   Fixes #1988
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to