[ 
https://issues.apache.org/jira/browse/KARAF-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on KARAF-2290 started by Freeman Fang.

> should also endorse activation-api spec jar
> -------------------------------------------
>
>                 Key: KARAF-2290
>                 URL: https://issues.apache.org/jira/browse/KARAF-2290
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> as javax/activation/DataHandler need be loaded from bootloader anyway(because 
> we endorse other specs jars which need use  javax/activation/DataHandler ), 
> so we shouldn't load it as a bundle, to avoid LinkageError like
> Caused by: java.lang.LinkageError: loader constraint violation: when 
> resolving overridden method 
> "org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addSwaRefAttachment(Ljavax/activation/DataHandlerLjava/lang/String;"
>  the class loader (instance of 
> org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the 
> current class, org/apache/cxf/jaxb/attachment/JAXBAttachmentMarshaller, and 
> its superclass loader (instance of <bootloader>), have different Class 
> objects for the type javax/activation/DataHandler used in the signature
> > at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to