pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-742) pluggable classloader
Date Wed, 15 Jun 2011 22:44:50 GMT

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

Sandro Martini commented on PIVOT-742:
--------------------------------------

Hi all,
I can try to look at it in next days, but to test that is will not break something I could
only run some of our test applications (even under Web Start, important for me) ... while
for tests in more complex environments (like OSGi) probably we could think to set-up a mavenized
test project for this (or ask Andrei if has something like this) that could go under /skunk
...

And to not forget this, assign to the 2.0.1 release (but probably it will be fixed with a
full solution in 2.1) and to me, but if someone has more time than me is welcome to take over.

I'll keep you updated.


> pluggable classloader
> ---------------------
>
>                 Key: PIVOT-742
>                 URL: https://issues.apache.org/jira/browse/PIVOT-742
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Andrei Pozolotin
>             Fix For: 2.0.1
>
>         Attachments: CLPlugin.java, CLPluginTCCL.java, CLProvider.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.10506@gmail.com%3E

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message