Branch: refs/heads/stable-17.4.x
Home:
https://github.com/xwiki/xwiki-commons
Commit: 33280ce41cb4056ca8bb775603bcb2628e366428
https://github.com/xwiki/xwiki-commons/commit/33280ce41cb4056ca8bb775603bcb…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-06-23 (Mon, 23 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.
(cherry picked from commit ce2125f5ebdfdf36b36908a9ccf1a96277909fad)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-commons/settings/notifications