[ 
https://issues.apache.org/jira/browse/ARIES-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bosschaert updated ARIES-1157:
------------------------------------

    Attachment: 
org.apache.aries.spifly.examples.provider.consumer.bundle-1.0.1-SNAPSHOT.jar

The attached jar exposes the problem.

> SPI-Fly does not support bundles that are both providers and consumers of the 
> same API
> --------------------------------------------------------------------------------------
>
>                 Key: ARIES-1157
>                 URL: https://issues.apache.org/jira/browse/ARIES-1157
>             Project: Aries
>          Issue Type: Bug
>            Reporter: David Bosschaert
>         Attachments: 
> org.apache.aries.spifly.examples.provider.consumer.bundle-1.0.1-SNAPSHOT.jar
>
>
> When creating a bundle that is both an SPI provider and an SPI consumer the 
> consumer does not find the provider. 
> This has been observed with a bundle that does not provide the SPI API, but 
> contains both the provider jar as well as the consumer jar, which is invoked 
> from the activator.
> The bundle contains both these headers:
> {code}SPI-Consumer: *
> SPI-Provider: *{code}
> Note that this problem can be observed in Felix but not in Equinox because 
> Equinox sets the TCCL to the current bundle by default.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to