You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2009/04/27 06:51:30 UTC
[jira] Updated: (FELIX-1059) DynamicImport-Package matches more
packages than desired
[ https://issues.apache.org/jira/browse/FELIX-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sahoo updated FELIX-1059:
-------------------------
Attachment: FELIX-1059.zip
Test case. Unzip and use the jar file. The source code is also there.
> 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
>
> Attachments: FELIX-1059.zip
>
>
> 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.