Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D345D10215 for ; Wed, 24 Apr 2013 03:23:20 +0000 (UTC) Received: (qmail 81970 invoked by uid 500); 24 Apr 2013 03:23:20 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 81588 invoked by uid 500); 24 Apr 2013 03:23:19 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 79435 invoked by uid 99); 24 Apr 2013 03:23:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 03:23:15 +0000 Date: Wed, 24 Apr 2013 03:23:15 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (KARAF-2290) should also endorse activation-api spec jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 ), 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