[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
  http://thread.gmane.org/gmane.comp.ide.eclipse.equinox.devel/1780

  System and context class loaders
  http://thread.gmane.org/gmane.comp.ide.eclipse.equinox.devel/1651/focus=1743

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