Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: bddb9f43e47c5f19838d4ddae985dbde013874cf https://github.com/xwiki/xwiki-platform/commit/bddb9f43e47c5f19838d4ddae985d... Author: Vincent Massol <[email protected]> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/macro/code/CodeMacro.java M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/test/java/org/xwiki/rendering/internal/macro/code/CodeMacroTest.java Log Message: ----------- XWIKI-23253: Java StackOverflowError in code macro when choosing js language (#6190) * Fall back to displaying the content unhighlighted, with a warning in the logs, when the highlight parser fails, instead of failing the whole macro and thus breaking the page. * Log only the root cause message, since a lexer recursing too deeply produces a stack trace thousands of frames long and the page may be rendered often. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications