Hi team

I've just noticed that the ContentClassLoader do not override the ClassLoader.getResources(String) method. It only override the ClassLoader.getResource(String method). Notice the final 's', one of theses methods is returning an Enumeration, not the other one. Moreover, the ISearchPolicy, that is used under the hood to find resources have a findResources(String):Enumeration method :)

I expect getResources() to list resources available to the bundle (using OSGi constraints), not only "local" resources, which is the current behavior.

This is probably something forgotten :)
Can you enlight me ? Is this normal, or not ?

Cheers
--Guillaume

Reply via email to