You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/04/13 10:31:16 UTC

[jira] Commented: (FELIX-1034) bootdelegation property seems to be matching more packages than desired

    [ 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.