Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Re: ContextFinder stops at first bundle class loader

Thomas,

Thanks for your reply.

Thomas Watson wrote:
> I try to avoid DynamicImport-Package as much as possible because it has
> several drawbacks (like risk of replacing any of your private classes
> including your bundle activator from other exporters!!). Instead you
> should try using the buddy classloading mechanism. Adding the following
> header should give you the behavior you are looking for:

I know about buddy class loading. But I want to avoid it. If the context
finder would look further up the stack and not abort on the first bundle
class loader it finds things would actually work without buddy class
loading. I was just wondering if the context finder could be (or should
not be) enhanced to support this.

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/



Back to the top