Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Why doesn't the ProtectionDomain have a handle to a valid ClassLoader???
Why doesn't the ProtectionDomain have a handle to a valid ClassLoader??? [message #329012] Tue, 10 June 2008 14:10
Asaf is currently offline AsafFriend
Messages: 36
Registered: July 2009
Member
When running my OSGi bundle under Equinox, it is apparent that
ProtectionDomains
loaded by the Equinox class loader, don't have a handle to a ClassLoader
instance:
Class c = Class.forName("aa.bb.cc.MyClass").getClass();
ProtectionDomain pd = c.getProtectionDomain();

if(pd.getClassLoader()==null)
System.out.prinelnt("protection domain class loader is null!!!");

Any help would be highly appreciated.
Asaf
Previous Topic:Re: Make TableLayoutComposite public
Next Topic:Example of use of Annotations with SourceViewer (and not TextEditor)
Goto Forum:
  


Current Time: Sat Nov 09 04:09:47 GMT 2024

Powered by FUDForum. Page generated in 0.02475 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top