My class loader is needed. But I am instantiating felix inside a class which
is loaaded by my own classloader.

This class loader is ijust a simple extention of URLCLassloader.

Is it not the bundle class loader should be used only after loading bundle?
Or what is the speciality of org.osgi.framework.Bundle.loadClass

-----Original Message-----
From: Guo Du [mailto:[email protected]] 
Sent: Friday, February 26, 2010 1:54 AM
To: [email protected]; [email protected]
Subject: Re: is felix (latest) safe to use from C++ thread? or is this
havingany issues like classloaders?

On Thu, Feb 25, 2010 at 2:12 PM, Mahammad Nasir <[email protected]>
wrote:
> Currently i am not facing any problems with   felix. But i am not able 
> to instantiate Equinox. It appears to me reason for this is Equinox 
> has Thread.currentthread.getContextClassLoader which returns null (I 
> am not fully sure, if this is the prob).
>
Do you play with your own class loader? It's better use standard OSGi way to
load class. See org.osgi.framework.Bundle.loadClass(String
name)

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to