Affected version: HEAD
File: maven-resolver-transport-jetty/src/main/java/org/eclipse/aether/transport/jetty/PutTaskRequestContent.java:246, 298
} catch (Throwable t) {
lockedSetTerminal(Content.Chunk.from(t, true));
}
Catches OutOfMemoryError, StackOverflowError, InternalError, etc. These should propagate. Wrapping them as terminal chunks converts fatal JVM errors into regular failure conditions, making them invisible to diagnostics.
Originally reported in #1944.
Affected version: HEAD
File:
maven-resolver-transport-jetty/src/main/java/org/eclipse/aether/transport/jetty/PutTaskRequestContent.java:246, 298Catches
OutOfMemoryError,StackOverflowError,InternalError, etc. These should propagate. Wrapping them as terminal chunks converts fatal JVM errors into regular failure conditions, making them invisible to diagnostics.Originally reported in #1944.