Skip to main content



      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 10:10
Eclipse UserFriend
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: Thu May 01 17:10:28 EDT 2025

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

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

Back to the top