[ https://issues.apache.org/jira/browse/PIVOT-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051104#comment-13051104 ]
Sandro Martini commented on PIVOT-742: -------------------------------------- Ok, I'll create the subtask (and after the commit of the patch I'll mark it as resolved), and move the current issue to 2.1 . Andrei, for the massive patch thank you very much, but I'd wait until we close the 2.0.1 (now could be too early for that patch) ... at the moment the 2.0.1 is in trunk, but after freezing the 2.0.1 it will be moved in a maintenance branch and we can really start developments for the 2.1. I'll keep you updated on when this will be necessary. > pluggable classloader > --------------------- > > Key: PIVOT-742 > URL: https://issues.apache.org/jira/browse/PIVOT-742 > Project: Pivot > Issue Type: Improvement > Reporter: Andrei Pozolotin > Assignee: Sandro Martini > Fix For: 2.1 > > Attachments: BeanUtil.java, CLPlugin.java, CLPluginTCCL.java, > CLProvider.java, RunEnque.java, RunResult.java, RunTCCL.java, UseCase.java, > patch_2011-06-15_bxml-classloader.patch > > > pluggable classloader: > 1) in current pivot trunk, TCCL, > Thread.currentThread().getContextClassLoader().... is mentioned 105 times > I suggest to centralize it and replace with pluggable classloader (which can > use TCCL by default); > 2) review all other uses of Class.getResource(), which are not using TCCL, > and convert when possible; > motivation: > https://issues.apache.org/jira/browse/PIVOT-22 > https://issues.apache.org/jira/browse/FELIX-2951 > http://njbartlett.name/2010/08/30/osgi-readiness-loading-classes.html > http://wiki.eclipse.org/index.php/Context_Class_Loader_Enhancements > http://stackoverflow.com/questions/2198928/better-handling-of-thread-context-classloader-in-osgi > http://mail-archives.apache.org/mod_mbox/pivot-user/201105.mbox/%3c4dcdf889.10...@gmail.com%3E -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira