DynamicImport-Package matches more packages than desired
--------------------------------------------------------
Key: FELIX-1059
URL: https://issues.apache.org/jira/browse/FELIX-1059
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: felix-1.6.0
Environment: generic
Reporter: Sahoo
Fix For: felix-1.6.1
Using * in DynamicImport-Package results in more packages being imported than
desired. I have a bundle which has the following manifest attributes:
Bundle 2
--------
DynamicImport-Package = javax.crypto.interfaces.*
Import-Package = org.osgi.framework
Bundle-SymbolicName = foo
Bundle-Activator = sahoo.Activator
Question is should javax.crypto.interfaces.* match javax.crypto.interfaces
package or not? Felix 1.6.0 seems to match it as the following shell command
output confirms:
-> imports 2
foo [2] imports:
----------------
org.osgi.framework; version=1.4.0 -> org.apache.felix.framework [0]
javax.crypto.interfaces; version=1.6.0 -> org.apache.felix.framework [0]
It seems like similar to bootdelegation bug:
https://issues.apache.org/jira/browse/FELIX-1034.
The RI behaves differently.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.