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.

Reply via email to