Yes, this gives access to everything, which is why you need permission to do this if security is enabled. Generally speaking, bundles should never need to directly load classes from another bundle, since the whole point of the OSGi framework is to raise this level of abstraction. However, sometimes it is necessary.

-> richard

Sahoo wrote:
It looks like Bundle.loadClass() is able to load a class even when the corresponding package is not exported by the bundle. Is this the right behavior?

Thanks,
Sahoo

---------------------------------------------------------------------
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