[ 
https://issues.apache.org/jira/browse/UIMA-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873554#comment-16873554
 ] 

Marshall Schor commented on UIMA-6057:
--------------------------------------

In your scenario, it would seem that the pipeline created with SimplePipeline 
would be using the same classloader as it's surrounding context, yet your 
description seems to indicate that it has a "different" classloader.   Is this 
correct? 

I looked at the code in uimaFIT and it seems to not use a different classloader 
if the uima context has been set.  @{color:#333333}rec can you comment on this?

{color}Is the design use-case above intended to run the RutaEngine via 
SimplePipeline, in the same classloader as the caller, to enable JCas class 
sharing between the two components? 

> Avoid falsely switching classloader
> -----------------------------------
>
>                 Key: UIMA-6057
>                 URL: https://issues.apache.org/jira/browse/UIMA-6057
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Matthias Koch
>            Priority: Major
>         Attachments: UIMA-6057.diff
>
>
> In some cases the classloader is switched back, although it hasn't be 
> switched before processing.



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

Reply via email to