[ 
https://issues.apache.org/jira/browse/FELIX-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard S. Hall resolved FELIX-1400.
------------------------------------

       Resolution: Fixed
    Fix Version/s: felix-2.0.0

Dynamic import was not actually matching, it treated it as part of the package 
name, which would never match anything. Boot delegation was matching partial 
package names, though.

I modified dynamic import parsing to throw an exception, so such a bundle would 
fail to install now due to invalid manifest syntax. For boot delegation, I 
simply ignore the wildcard if the package name does not end in ".*", which 
treats it as part of the package name and will never match anything (this is 
equivalent to ignoring it).

Please close if you are satisfied.

> bootdelegation and dynamic-import-packages are accepting invalid patterns
> -------------------------------------------------------------------------
>
>                 Key: FELIX-1400
>                 URL: https://issues.apache.org/jira/browse/FELIX-1400
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.8.1
>            Reporter: Guillaume Sauthier
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
>
>
> Regarding the spec, the description format of a package/pattern should be the 
> following:
> package-name | package-name '.*' |  '*'
> So it seems that describing a package like 'com.sun.corba*' is wrong.
> But it works with Felix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to