You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Sauthier (JIRA)" <ji...@apache.org> on 2009/07/22 17:19:14 UTC
[jira] Created: (FELIX-1400) bootdelegation and
dynamic-import-packages are accepting invalid patterns
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
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.
[jira] Assigned: (FELIX-1400) bootdelegation and
dynamic-import-packages are accepting invalid patterns
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall reassigned FELIX-1400:
--------------------------------------
Assignee: Richard S. Hall
> 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
>
> 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.
[jira] Closed: (FELIX-1400) bootdelegation and
dynamic-import-packages are accepting invalid patterns
Posted by "Guillaume Sauthier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Sauthier closed FELIX-1400.
-------------------------------------
Works great
Thanks
> 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.
[jira] Resolved: (FELIX-1400) bootdelegation and
dynamic-import-packages are accepting invalid patterns
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ 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.