gnodet opened a new pull request, #12854: URL: https://github.com/apache/maven/pull/12854
Backport of #12814 to `maven-4.0.x`. Fixes a startup hang where `FastTerminal` deadlocks when JLine 4.x logs a JUL warning during native-library probing on the terminal-building thread. The thread parks on its own future when `getTerminal()` is called re-entrantly through the SLF4J bridge. The fix returns `TYPE_DUMB` and a pre-captured writer for the two re-entrant call sites (`getType()` and `writer()`), degrading to unstyled text only while the real terminal is still being built. Cherry-picked cleanly from 02a675d7dd89. -- 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]
