Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 1486a593d70019cda6d5fbbd395687c148fd7e97 https://github.com/xwiki/xwiki-platform/commit/1486a593d70019cda6d5fbbd39568... Author: Vincent Massol <[email protected]> Date: 2026-06-05 (Fri, 05 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-xar/xwiki-platform-xar-model/src/main/java/org/xwiki/xar/internal/XarUtils.java Log Message: ----------- [Misc] Prevent exception masking when closing XMLStreamReader in XarUtils Capture both the parse and close exceptions outside the finally block and throw them after it completes. If both fail, the close exception is attached as a suppressed exception to the parse exception, mirroring the semantics of try-with-resources for non-AutoCloseable resources. Co-authored-by: Claude <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications