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