felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3370) Complex Require-Bundle resolver failure
Date Fri, 02 Mar 2012 12:42:56 GMT
Complex Require-Bundle resolver failure

                 Key: FELIX-3370
                 URL: https://issues.apache.org/jira/browse/FELIX-3370
             Project: Felix
          Issue Type: Bug
            Reporter: Thomas Diesler

Consider this

        // Bundle-SymbolicName: requirebundleB
        // Export-Package: resources
        // Bundle-SymbolicName: requirebundleC
        // Export-Package: resources
        // Bundle-SymbolicName: requirebundleD
        // Import-Package: resources;bundle-symbolic-name=requirebundleC

        // Bundle-SymbolicName: requirebundleE
        // Require-Bundle: requirebundleD
        // Import-Package: resources

        Wiring wiringE = getWiring(env, resourceE);
        assertEquals(0, wiringE.getProvidedResourceWires(null).size());
        assertEquals(1, wiringE.getRequiredResourceWires(WIRING_PACKAGE_NAMESPACE).size());
        wire = wiringE.getRequiredResourceWires(WIRING_PACKAGE_NAMESPACE).get(0);
        assertEquals(resourceC, wire.getProvider());

The current implementation of the standalone resolver wires E to B

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message