karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3596) Export Xerces packages using org.osgi.framework.system.packages.extra instead of org.osgi.framework.bootdelegation
Date Wed, 11 Mar 2015 02:26:39 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356115#comment-14356115
] 

Freeman Fang commented on KARAF-3596:
-------------------------------------

Agreed, it's safer to do both.

Not all existing applications import the xerces packages by default, so the delegate should
be here also.

> Export Xerces packages using org.osgi.framework.system.packages.extra instead of org.osgi.framework.bootdelegation
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3596
>                 URL: https://issues.apache.org/jira/browse/KARAF-3596
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.3, 2.4.1
>            Reporter: Dhiraj Bokde
>            Assignee: Jean-Baptiste Onofré
>
> Some xerces packages like org.apache.xerces.jaxp.datatype, and org.apache.xerces.stax
are being exported using org.osgi.framework.bootdelegation, which simply delegates package
resolution, instead of exporting them through system bundle with version information, which
should be done using org.osgi.framework.system.packages.extra. 
> Hence, all xerces packages should be listed in org.osgi.framework.system.packages.extra,
and removed from org.osgi.framework.bootdelegation. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message