[
https://issues.apache.org/jira/browse/FELIX-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Sauthier updated FELIX-467:
-------------------------------------
Attachment: FELIX-467-tests-bundles.zip
Here are a use case / test for this issue.
* 2 bundles :
** Importer, that have a resource locally and that define an import on the
package resource
** Exporter, that only export a package that contains a resource file
The importer use its bundle ClassLoader to get access to the resources.
The zip contains 3 eclipse project (1 exporter and 2 importers: the first one
that do Import-Package and the second one that do a DynamicImport-Package)
> R4SearchPolicyCore.findResources(String) do not aggregate the Enumeration
> founds
> --------------------------------------------------------------------------------
>
> Key: FELIX-467
> URL: https://issues.apache.org/jira/browse/FELIX-467
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: Guillaume Sauthier
> Attachments: FELIX-467-tests-bundles.zip, FELIX-467.patch
>
>
> This issue is linked to FELIX-466
> The R4SearchPolicyCore.findResources(String) method just exits early on a
> first hit, and doesn't continue into imported packages.
> It should aggregate the different hits and return all matching resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.