You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2018/10/30 19:46:00 UTC

[jira] [Updated] (UIMA-5553) uv3: Ability to set just a parent classloader, but not classpath

     [ https://issues.apache.org/jira/browse/UIMA-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-5553:
---------------------------------
    Fix Version/s: 3.0.0SDK

> uv3: Ability to set just a parent classloader, but not classpath
> ----------------------------------------------------------------
>
>                 Key: UIMA-5553
>                 URL: https://issues.apache.org/jira/browse/UIMA-5553
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 3.0.0SDK-beta
>            Reporter: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.0.0SDK
>
>
> uimaFIT tries to set a custom classloader on a resource manager - but it does so without adding any additional classpath entries:
> {noformat}
>           ResourceManager resMgr = UIMAFramework.newDefaultResourceManager();
>           resMgr.setExtensionClassPath(ClassUtils.getDefaultClassLoader(), "", true);
>           return resMgr;
> {noformat}
> With UV3, this call now produces a warning:
> {noformat}
> org.apache.uima.internal.util.Misc addUrlsFromPath(257) WARNING: Skipping adding "" to URLs
> {noformat}
> It would be nice to have a `resMgr.setExtensionClassPath` method that just sets the parent loader but without trying to add URLs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)