This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new 5678d2c2b ioc-jcache: Explitly request jsr107 CachingProvider
5678d2c2b is described below
commit 5678d2c2b1b78286552131edee62c73e470e89fe
Author: Ben Weidig <[email protected]>
AuthorDate: Mon Apr 6 16:32:21 2026 +0200
ioc-jcache: Explitly request jsr107 CachingProvider
After removing Infinispan for testing, the tests worked locally, but
failed on Apache CI.
Due to the Service discovery mechanisms used, it might load the wrong
provider if none is specified.
---
.../test/java/org/apache/tapestry5/jcache/internal/HarnessModule.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tapestry-ioc-jcache/src/test/java/org/apache/tapestry5/jcache/internal/HarnessModule.java
b/tapestry-ioc-jcache/src/test/java/org/apache/tapestry5/jcache/internal/HarnessModule.java
index bacdb9fd8..d586cd7e6 100644
---
a/tapestry-ioc-jcache/src/test/java/org/apache/tapestry5/jcache/internal/HarnessModule.java
+++
b/tapestry-ioc-jcache/src/test/java/org/apache/tapestry5/jcache/internal/HarnessModule.java
@@ -51,7 +51,7 @@ public class HarnessModule
public static CacheManager buildCacheManager()
{
- CachingProvider provider = Caching.getCachingProvider();
+ CachingProvider provider =
Caching.getCachingProvider("org.jsr107.ri.spi.RICachingProvider");
return provider.getCacheManager(provider.getDefaultURI(),
provider.getDefaultClassLoader());
}