Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2334

JcrRepository uses getClass().getClassLoader() to load classes for security providers (among others)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Final
    • 3.8.0.Final, 4.0.0.Final
    • Configuration
    • None

      Modeshape uses several class loaders, including thread context class loader, when trying to load resources, however when trying to load classes for providers, it uses JcrRepository.getClass().getClassLoader(), which in pure OSGi environment fails to load classes from other bundles. It would be very nice if thread context class loader was also used in this case. That way all resource and class loading is consistent.

              hchiorean Horia Chiorean (Inactive)
              rstachowiak_jira Radosław Stachowiak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: