Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 17997 invoked from network); 3 Jan 2008 07:43:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 07:43:54 -0000 Received: (qmail 7077 invoked by uid 500); 3 Jan 2008 07:43:43 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 7063 invoked by uid 500); 3 Jan 2008 07:43:43 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 7054 invoked by uid 99); 3 Jan 2008 07:43:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 23:43:43 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 07:43:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CE20F714201 for ; Wed, 2 Jan 2008 23:43:33 -0800 (PST) Message-ID: <11475462.1199346213840.JavaMail.jira@brutus> Date: Wed, 2 Jan 2008 23:43:33 -0800 (PST) From: "Freeman Fang (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-1351) static DocumentBuilderFactory in XMLUtils cause ClassCastException when use different classloader In-Reply-To: <6804892.1199333016014.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang resolved CXF-1351. ------------------------------- Resolution: Fixed > static DocumentBuilderFactory in XMLUtils cause ClassCastException when use different classloader > ------------------------------------------------------------------------------------------------- > > Key: CXF-1351 > URL: https://issues.apache.org/jira/browse/CXF-1351 > Project: CXF > Issue Type: Bug > Reporter: Freeman Fang > Assignee: Freeman Fang > > for example, init the DocumentBuilderFactory with classloader1 by > parserFactory = DocumentBuilderFactory.newInstance(); //here use classloader1 is used > but invoke getParser() with classloader2 > when parserFactory.newDocumentBuilder(); will get ClassCastException > we can't cast same class prototype with different classloader -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.