ClassLoader.getResources(String) do not search resources in imports
-------------------------------------------------------------------
Key: FELIX-466
URL: https://issues.apache.org/jira/browse/FELIX-466
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: 1.0.0
Reporter: Guillaume Sauthier
I've got a third party library that is using the JDK ClassLoader API to load
some resources using the getResources(String) method that returns an
Enumeration of available resources.
The ContentClassLoader of Felix do not override this method because it was
marked as final in JDK <= 1.4.
A trick to do that would be to change the
ContentClassLoader.findResources(String) (which is called by
ClassLoader.getResources(String)) to search the resources using the
ISearchPolicy.findResources() so that the imports are searched.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.