]
Daniel Svanström commented on ISPN-7704:
----------------------------------------
I saw that the latest fix was merged. I have tested our application towards the latest
code in master and 9.0.x and I have verified that the fix now works as expected.
AbstractFileLookup#lookupFileStrict should also support absolute
paths
----------------------------------------------------------------------
Key: ISPN-7704
URL:
https://issues.jboss.org/browse/ISPN-7704
Project: Infinispan
Issue Type: Bug
Components: JCache, Spring Integration
Affects Versions: 9.0.0.Final
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Priority: Critical
Fix For: 9.1.0.Final, 9.0.1.Final, 9.1.0.Alpha1
When specifying {{spring.cache.jcache.config}} value in Spring's
application.properties, Spring passes us a scheme with absolute path (e.g.
{{file:/home/slaskawi/work/infinispan/CacheTest/target/classes/infinispan.xml}}). This
causes problems with {{AbstractFileLookup#lookupFileStrict(java.net.URI,
java.lang.ClassLoader)}} since it should construct a new {{File}} rather than load this
resource from the classloader.
Related Pull Request:
https://github.com/infinispan/infinispan/pull/4474