This is an automated email from the ASF dual-hosted git repository.

benweidig pushed a commit to branch javax
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit f5740b5c7fcdcb54258b8878da55a80cae8b1cfd
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());
     }
 

Reply via email to