felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sahoo <sanjeeb.sa...@oracle.com>
Subject Re: Difference between system.bundle getResource and loadClass
Date Thu, 07 Feb 2013 10:56:21 GMT
No, I don't have a use case. Since we set framework loader as bundle 
parent loader, I can't see how it can really affect us. I accidentally 
bumped into that code and it didn't look correct to me, so asked. It can 
actually affect some.

Thanks,
Sahoo
On Thursday 07 February 2013 03:19 PM, Karl Pauls wrote:
> I don't think there is a real reason.
>
> IIRC, we just wanted the system bundle wiring not to expose classes that
> are not exported and hence, changed the getClassByDelegation. I guess you
> could argue we should do the same for getResourceByDelegation...
>
> Do you have a use case where that is causing problems?
>
> regards,
>
> Karl
>
>
> On Thu, Feb 7, 2013 at 10:34 AM, Sahoo <sanjeeb.sahoo@oracle.com> wrote:
>
>> Why does ExtensionManager.**getResourceByDelegation() does not search the
>> resource using the same algorithm as getClassByDelegation()?
>>
>> Thanks,
>> Sahoo
>>
>
>


Mime
View raw message