You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/08/26 23:23:49 UTC
[PR] [4.0.x] Fix #12761: do not wait for the terminal on the thread building it [maven]
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [4.0.x] Fix #12761: do not wait for the terminal on the thread building it [maven]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #12854:
URL: https://github.com/apache/maven/pull/12854
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org