Thomas Watson created FELIX-3707:
------------------------------------

             Summary: Uses constraints not properly checked with require bundle
                 Key: FELIX-3707
                 URL: https://issues.apache.org/jira/browse/FELIX-3707
             Project: Felix
          Issue Type: Bug
          Components: Resolver
         Environment: All
            Reporter: Thomas Watson


The following set of manifests should result in require.b1 being unresolvable 
due to an inconsistent class space for package p1:

Bundle-ManifestVersion: 2
Bundle-SymbolicName: require.b1
Bundle-Version: 1.0.0
Require-Bundle: require.b2, require.b3

Bundle-ManifestVersion: 2
Bundle-SymbolicName: require.b2
Bundle-Version: 1.0.0
Export-Package: p1

Bundle-ManifestVersion: 2
Bundle-SymbolicName: require.b3
Bundle-Version: 1.0.0
Export-Package: p2; uses:="p1"
Require-Bundle: require.b4

Bundle-ManifestVersion: 2
Bundle-SymbolicName: require.b4
Bundle-Version: 1.0.0
Export-Package: p1

I will attach a possible fix and testcase

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to