Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5435

UIMA Class Loader getResource doesn't look first in its own resources

    XMLWordPrintableJSON

Details

    Description

      The UIMAClassLoader stategy is to load from this class loader before delegating to its parent. It does this for classes, but missed doing this for "resources" obtained by getResource.

      I think this should be fixed so that a Pear, trying to load its resource, will get that resource, and not a same-named one from some parent classloader.

      This might break some existing use cases, as it changes where some resources will come from.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: