efegokdemir commented on code in PR #2207:
URL: https://github.com/apache/maven-resolver/pull/2207#discussion_r4252666436
##########
maven-resolver-transport-jetty/src/main/java/org/eclipse/aether/transport/jetty/PutTaskRequestContent.java:
##########
@@ -295,7 +295,7 @@ public boolean rewind() {
offsetRemaining = 0;
totalRead = 0;
return true;
- } catch (Exception e) {
+ } catch (IOException e) {
Review Comment:
Fixed in `ecaecd6`. `rewind()` now returns `false` when repositioning fails
with an `IOException`, with a regression test for that path. The Maven reactor
test run passed: 106 Jetty tests, 10 skipped. Spotless could not run here
because its Palantir formatter is incompatible with the available Java 27
runtime.
--
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]