[
https://issues.apache.org/jira/browse/FELIX-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Sauthier updated FELIX-466:
-------------------------------------
Attachment: FELIX-466.patch
This super easy patch only delegate the ContentClassLoader finResource*()
methods to the module's ISearchPolicy.
> 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
> Attachments: FELIX-466.patch
>
>
> 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.