cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1351) static DocumentBuilderFactory in XMLUtils cause ClassCastException when use different classloader
Date Thu, 03 Jan 2008 07:43:33 GMT

     [ 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.


Mime
View raw message