Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » ContextFinder help
ContextFinder help [message #72575] Thu, 24 August 2006 08:41 Go to next message
Martin Lippert is currently offline Martin LippertFriend
Messages: 124
Registered: July 2009
Senior Member
Hi,

it seems like the ContextFinder does not look into the context to find the
class if a class with the same name was already loaded by the context
finder before. This seems to be the case even if the class that was loaded
before comes from a bundle that is not part of the current context.

My concrete example: Apache Commons Logging is part (but not exportet) by
different bundles. The ContextFinder is used to load a class from that
library by one of the bundles, works fine. Later, the other bundle tries
to load the same class from its library via the ContextFinder. This second
call does not load the class from the library of that bundle, but instead
returns the class loaded before without even looking into its context.

Is this a bug in the ContextFinder? Or am I doing something wrong? Any
idea how to solve this situation (changing Apache Commons Logging is not
allowed... ;-)

Thanks for the help!!!

Best regards,
Martin
Re: ContextFinder help [message #72671 is a reply to message #72575] Mon, 28 August 2006 21:20 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
Hi Martin,

This seems like a bug. Can you open a bug against Equinox->Framework?
It would really help if you could attach a testcase to reproduce the
problem to the bug report. Thanks

Tom.
Re: ContextFinder help [message #72695 is a reply to message #72671] Tue, 29 August 2006 12:06 Go to previous message
Martin Lippert is currently offline Martin LippertFriend
Messages: 124
Registered: July 2009
Senior Member
Hm, strange... I created a small example and it works fine. Need to
re-analyse the real world application to find out more... Will file a bug
when I have a small example to reproduce the problem.

Thanks!

Best regards,
-Martin
Previous Topic:Determine debug mode
Next Topic:ServiceTracker
Goto Forum:
  


Current Time: Sat Apr 27 03:52:45 GMT 2024

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

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

Back to the top