[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Re: Problem with getContextClassLoader() and third party library

Jan Stette <jan.stette@xxxxxxxxx> writes:

> I have read the article at
> http://wiki.eclipse.org/index.php/Context_Class_Loader_Enhancements,
> which suggests that the "Context Finder" should be installed by the
> framework as the default context classloader, and resolve things
> according to the usual OSGi class loading algorithm.  In the threads
> I've checked however, getContextClassLoader() always returns null.

I've been asking similar questions here in these threads:

  Recipe to get extension bundle classes on the class path

  System and context class loaders

Things have probably changed somewhat in 3.3, which is what I've been
using, but I'm facing the exact same problem: dealing with third-party
code that uses the TCCL to find classes of mine in a bundle.

Steven E. Harris