[
https://issues.apache.org/jira/browse/UIMA-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531549#comment-16531549
]
Serge Démoulin commented on UIMA-5798:
--------------------------------------
{color:#333333}In my opinion you should also remove the affection
"{color}{color:#333333}rm.uimaCL = this.uimaCL;"{color}{color:#333333} from
ResourceManager_impl#copy() or handle the following issue that
ResourceManager_impl#destroy() cannot not call directly UIMAClassLoader#close()
because the UIMAClassLoader can be shared between many
ResourceManager_impl.{color}
> The verification of a PEAR let the files locked
> ------------------------------------------------
>
> Key: UIMA-5798
> URL: https://issues.apache.org/jira/browse/UIMA-5798
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.1
> Reporter: Serge Démoulin
> Assignee: Marshall Schor
> Priority: Critical
>
> The method org.apache.uima.pear.tools.InstallationTester#doTest() create many
> new ResourceManager and the method must call ResourceManager#destroy() that
> is not the case.
> Moreover every class responsible for creating a new ResourceManager must be
> responsible for destroying it in an appropriate way.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)