You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thomas Watson (JIRA)" <ji...@apache.org> on 2017/02/03 21:30:51 UTC

[jira] [Created] (FELIX-5514) Issues with substituted exports with require bundle

Thomas Watson created FELIX-5514:
------------------------------------

             Summary: Issues with substituted exports with require bundle
                 Key: FELIX-5514
                 URL: https://issues.apache.org/jira/browse/FELIX-5514
             Project: Felix
          Issue Type: Bug
          Components: Resolver
         Environment: All
            Reporter: Thomas Watson
            Assignee: Thomas Watson


When resolving require-bundle requirements there is an issue if the bundle being required has substituted exports.  The issue is that any requiring bundle will not have the export substituted included in their own class space.  At runtime the OSGi core specification requires that substituted exports be accessible to requiring bundles.  This can cause issues in the consistency check done by the resolver because the class space the requiring bundle will be missing packages that should be visible.

The resolver needs to keep track of substituted exports and make sure to include any substitutions in the class spaces of the requiring bundles.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)