You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2014/02/05 15:24:10 UTC

[jira] [Created] (ARIES-1157) SPI-Fly does not support bundles that are both providers and consumers of the same API

David Bosschaert created ARIES-1157:
---------------------------------------

             Summary: 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


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)