On Friday 08 February 2013 02:09 AM, Richard S. Hall wrote:

On 2/7/13 09:20 , Richard S. Hall wrote:
I think the issue is simply that the system bundle's class loader is always the class loader that loaded it (unlike bundles which can be configured to have a different parent) and it can never delegate to anyone else since it never imports, so all requests to it are serviced by its loading class loader.

Responding to myself, I guess I thought you were asking why it is different that normal bundles, but I see you were just talking about the extension manager methods themselves...

The only reason I can think of is that resources aren't always in packages, so were were being a little more lenient with those, but otherwise you could argue it should be done the same way.
Right. I think we should change getResource method, since Felix implementation tries to stick to the spec as much as possible in default mode.

Sahoo

Reply via email to