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

uv3: Ability to set just a parent classloader, but not classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0SDK-beta
    • 3.0.0SDK
    • Core Java Framework
    • None

    Description

      uimaFIT tries to set a custom classloader on a resource manager - but it does so without adding any additional classpath entries:

                ResourceManager resMgr = UIMAFramework.newDefaultResourceManager();
                resMgr.setExtensionClassPath(ClassUtils.getDefaultClassLoader(), "", true);
                return resMgr;
      

      With UV3, this call now produces a warning:

      org.apache.uima.internal.util.Misc addUrlsFromPath(257) WARNING: Skipping adding "" to URLs
      

      It would be nice to have a `resMgr.setExtensionClassPath` method that just sets the parent loader but without trying to add URLs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: