hgschmie commented on code in PR #2336: URL: https://github.com/apache/maven/pull/2336#discussion_r2096704130
########## impl/maven-executor/src/main/java/org/apache/maven/cling/executor/embedded/EmbeddedMavenExecutor.java: ########## @@ -176,7 +176,7 @@ protected void disposeRuntimeCreatedRealms(Context context) { } } } catch (Exception e) { - throw new ExecutorException("Failed to dispose runtime created realms", e); + throw new RuntimeException(new ExecutorException("Failed to dispose runtime created realms", e)); Review Comment: this makes zero sense. First make the actual exception a checked exception, then wrap it into a (untyped) runtime exception. Now there is no longer a ExecutorException thrown but a RuntimeException. AI Slop. -- 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-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org