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

AbstractFileLookup#lookupFileStrict should also support absolute paths

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)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: