Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-commons
Commit: eda1b85c70cccc9a0f76ff67db4d9d06f79bbcd1
https://github.com/xwiki/xwiki-commons/commit/eda1b85c70cccc9a0f76ff67db4d9…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-05-26 (Mon, 26 May 2025)
Changed paths:
M
xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/main/java/org/xwiki/component/embed/EmbeddableComponentManager.java
M
xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/test/java/org/xwiki/component/embed/EmbeddableComponentManagerTest.java
Log Message:
-----------
XCOMMONS-3346: The component manager doesn't detect cycles in the initialization of
singleton components (#1341)
* Add a flag to mark components that are currently being created.
* Throw an exception when a second instance of a singleton would be created.
* Add a test.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-commons/settings/notifications