Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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
Attachments
Attachments
Issue Links
- relates to
-
PIVOT-687 BXMLSerializer, would like to be able to specify a classloader for loading custom components
- Resolved