Branch: refs/heads/XWIKI-23253 Home: https://github.com/xwiki/xwiki-platform Commit: 036bcd40779d6d200eed5718b519bba0cc1dfc26 https://github.com/xwiki/xwiki-platform/commit/036bcd40779d6d200eed5718b519b... Author: Vincent Massol <[email protected]> Date: 2026-08-17 (Mon, 17 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 * 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