Hi,

I have a question regarding the Bundle.loadClass(String) method. It
throws a ClassNotFoundException if the class can not be found but what
happens if the class depends on something that can not be found. In
the Classloader case that would result in a NoClassDefFoundError but
that is not mentioned in the spec. I think the
Bundle.loadClass(String) method should be allowed to throw a
NoClassDefFoundError in this case and that is what Apache Felix is
doing atm. Is this correct (and should that then be reflected in the
spec)?

regards,

Karl

-- 
Karl Pauls
[EMAIL PROTECTED]
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to