gnodet opened a new pull request, #12137:
URL: https://github.com/apache/maven/pull/12137

   ## Backport of #11901
   
   Cherry-pick of #11901 onto `maven-4.0.x`.
   
   **Original PR:** #11901 - Fix logging setup/teardown order
   **Original author:** @oehme
   **Target branch:** `maven-4.0.x`
   
   ### Original description
   
   Reorder ProjectBuildLogAppender registration in LookupInvoker so that it is 
added to the closeables list after the terminal setup. Since closeables are 
closed in reverse order (LIFO), this ensures the log sink is deregistered 
before the terminal is torn down, preventing StackOverflowErrors during 
shutdown.
   
   Relates to https://github.com/apache/maven/issues/11498


-- 
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