felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject Re: ClassLoader.getResources() not overrided
Date Thu, 17 Jan 2008 10:04:46 GMT
Hi Rob,

Am Donnerstag, den 17.01.2008, 10:59 +0200 schrieb Rob Walker:
> > I think, the method should rather gather all enumerations and returned a
> > combined enumeration over all results ...
> >
> > WDYT ?
> >
> >   
> Seems fine - my only comments from a quick re-read of the spec for 
> Bundle.getResources would be to ensure we observe restrictions:
> 
>     * If the bundle state is INSTALLED - only it's own local resources
>       should be searched and returned
>     * If the state is RESOLVED or above - only imported packages in
>       addition to local ones should be searched
> 
> 
> I'd guess our current approach does observe these - but just exits early 
> on a first hit, and doesn't continue into imported packages.

That's the essence of my tons of words :-)

Regards
Felix


Mime
View raw message