Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7704

AbstractFileLookup#lookupFileStrict should also support absolute paths

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: