]
Thomas Diesler updated JBOSGI-330:
----------------------------------
Fix Version/s: JBossOSGi 1.0.x
(was: JBossOSGi 1.0.0 Beta8)
Check with Felix what the resolver API supports
Invalid capability matching for dynamic or optional imports
-----------------------------------------------------------
Key: JBOSGI-330
URL:
https://jira.jboss.org/browse/JBOSGI-330
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.x
The OSGiPackageCapability requires a workaround in resolve that falls back to simple
package name, version and attribute matching
if (osgiRequirement.isDynamic() || osgiRequirement.isOptional())
{
match = super.resolves(reqModule, mcRequirement);
match &= matchAttributes(osgiRequirement);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: