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/10 10:40:12 UTC
[jira] Created: (FELIX-1034) bootdelegation property seems to be
matching more packages than desired
bootdelegation property seems to be matching more packages than desired
-----------------------------------------------------------------------
Key: FELIX-1034
URL: https://issues.apache.org/jira/browse/FELIX-1034
Project: Felix
Issue Type: Bug
Components: Framework
Environment: generic
Reporter: Sahoo
While describing org.osgi.framework.bootdelegation property, r4 spec says the following:
The .* wildcard means deep matching. Packages that match this list must be loaded from the parent class loader.
I have a bundle that depends on org.xml.sax.SAXException.class, but the bundle does not import org.xml.sax package. However, if I set bootdelegation=org,xml.sax.*, Felix delegates loading of org.xml.sax.SAXException.class to parent classloader. On the other hand, implementations like Equinox requires a value of org.xml.sax. I think Felix behavior is incorrect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1034) bootdelegation property seems to be
matching more packages than desired
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall updated FELIX-1034:
-----------------------------------
Component/s: Specification compliance
> bootdelegation property seems to be matching more packages than desired
> -----------------------------------------------------------------------
>
> Key: FELIX-1034
> URL: https://issues.apache.org/jira/browse/FELIX-1034
> Project: Felix
> Issue Type: Bug
> Components: Framework, Specification compliance
> Affects Versions: felix-1.6.0
> Environment: generic
> Reporter: Sahoo
> Fix For: felix-1.8.0
>
>
> While describing org.osgi.framework.bootdelegation property, r4 spec says the following:
> The .* wildcard means deep matching. Packages that match this list must be loaded from the parent class loader.
> I have a bundle that depends on org.xml.sax.SAXException.class, but the bundle does not import org.xml.sax package. However, if I set bootdelegation=org,xml.sax.*, Felix delegates loading of org.xml.sax.SAXException.class to parent classloader. On the other hand, implementations like Equinox requires a value of org.xml.sax. I think Felix behavior is incorrect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1034) bootdelegation property seems to be
matching more packages than desired
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-1034.
------------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
I have committed a fix for this, please close if you are satisfied. Thanks.
> bootdelegation property seems to be matching more packages than desired
> -----------------------------------------------------------------------
>
> Key: FELIX-1034
> URL: https://issues.apache.org/jira/browse/FELIX-1034
> Project: Felix
> Issue Type: Bug
> Components: Framework, Specification compliance
> Affects Versions: felix-1.6.0
> Environment: generic
> Reporter: Sahoo
> Assignee: Richard S. Hall
> Fix For: felix-1.8.0
>
>
> While describing org.osgi.framework.bootdelegation property, r4 spec says the following:
> The .* wildcard means deep matching. Packages that match this list must be loaded from the parent class loader.
> I have a bundle that depends on org.xml.sax.SAXException.class, but the bundle does not import org.xml.sax package. However, if I set bootdelegation=org,xml.sax.*, Felix delegates loading of org.xml.sax.SAXException.class to parent classloader. On the other hand, implementations like Equinox requires a value of org.xml.sax. I think Felix behavior is incorrect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1034) bootdelegation property seems to be
matching more packages than desired
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall updated FELIX-1034:
-----------------------------------
Affects Version/s: felix-1.6.0
Fix Version/s: felix-1.8.0
> bootdelegation property seems to be matching more packages than desired
> -----------------------------------------------------------------------
>
> Key: FELIX-1034
> URL: https://issues.apache.org/jira/browse/FELIX-1034
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: felix-1.6.0
> Environment: generic
> Reporter: Sahoo
> Fix For: felix-1.8.0
>
>
> While describing org.osgi.framework.bootdelegation property, r4 spec says the following:
> The .* wildcard means deep matching. Packages that match this list must be loaded from the parent class loader.
> I have a bundle that depends on org.xml.sax.SAXException.class, but the bundle does not import org.xml.sax package. However, if I set bootdelegation=org,xml.sax.*, Felix delegates loading of org.xml.sax.SAXException.class to parent classloader. On the other hand, implementations like Equinox requires a value of org.xml.sax. I think Felix behavior is incorrect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1034) bootdelegation property seems to be
matching more packages than desired
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698340#action_12698340 ]
Richard S. Hall commented on FELIX-1034:
----------------------------------------
It appears the consensus is org.foo.* should not match org.foo, so we will need to fix this in next release of Felix.
> bootdelegation property seems to be matching more packages than desired
> -----------------------------------------------------------------------
>
> Key: FELIX-1034
> URL: https://issues.apache.org/jira/browse/FELIX-1034
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Environment: generic
> Reporter: Sahoo
>
> While describing org.osgi.framework.bootdelegation property, r4 spec says the following:
> The .* wildcard means deep matching. Packages that match this list must be loaded from the parent class loader.
> I have a bundle that depends on org.xml.sax.SAXException.class, but the bundle does not import org.xml.sax package. However, if I set bootdelegation=org,xml.sax.*, Felix delegates loading of org.xml.sax.SAXException.class to parent classloader. On the other hand, implementations like Equinox requires a value of org.xml.sax. I think Felix behavior is incorrect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.