Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-commons
Commit: ce2125f5ebdfdf36b36908a9ccf1a96277909fad
https://github.com/xwiki/xwiki-commons/commit/ce2125f5ebdfdf36b36908a9ccf1a…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M
xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/main/java/org/xwiki/cache/internal/CacheLoader.java
M
xwiki-commons-core/xwiki-commons-cache/xwiki-commons-cache-api/src/test/java/org/xwiki/cache/internal/CacheLoaderTest.java
Log Message:
-----------
XCOMMONS-3363: The cache loader blocks and throws when setting the cache value blocks
and throws (#1367)
* Make the value available to waiting threads before setting the value
in the cache.
* Catch and log any exceptions thrown by setting the cache.
* Add tests to assert the new behavior.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-commons/settings/notifications