[ https://issues.apache.org/jira/browse/CXF-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-1351: ----------------------------- Affects Version/s: 2.0.3 Fix Version/s: 2.0.4 > 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 > Affects Versions: 2.0.3 > Reporter: Freeman Fang > Assignee: Freeman Fang > Fix For: 2.0.4 > > > 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.