Author: mukulg Date: Sat Apr 21 03:09:46 2018 New Revision: 1829683 URL: http://svn.apache.org/viewvc?rev=1829683&view=rev Log: committing fix as per discussion here, https://markmail.org/message/x5e5nreyj7eruyly on j-dev list
Modified: xerces/java/trunk/src/org/apache/xerces/dom/NamedNodeMapImpl.java Modified: xerces/java/trunk/src/org/apache/xerces/dom/NamedNodeMapImpl.java URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/dom/NamedNodeMapImpl.java?rev=1829683&r1=1829682&r2=1829683&view=diff ============================================================================== --- xerces/java/trunk/src/org/apache/xerces/dom/NamedNodeMapImpl.java (original) +++ xerces/java/trunk/src/org/apache/xerces/dom/NamedNodeMapImpl.java Sat Apr 21 03:09:46 2018 @@ -605,7 +605,8 @@ public class NamedNodeMapImpl throws IOException, ClassNotFoundException { in.defaultReadObject(); if (nodes != null) { - nodes = new ArrayList(nodes); + // cast to Vector is required + nodes = new ArrayList((Vector)nodes); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org