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

AbstractFileLookup#lookupFileStrict should also support absolute paths

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                sebastian.laskawiec Sebastian Łaskawiec
                Reporter:
                sebastian.laskawiec Sebastian Łaskawiec
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: