We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d42c3f commit d734211Copy full SHA for d734211
jaxp/src/com/sun/org/apache/xerces/internal/dom/NamedNodeMapImpl.java
@@ -1,6 +1,5 @@
1
/*
2
- * reserved comment block
3
- * DO NOT REMOVE OR ALTER!
+ * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
4
*/
5
6
* Copyright 1999-2002,2004,2005 The Apache Software Foundation.
@@ -608,7 +607,8 @@ private void readObject(ObjectInputStream in)
608
607
throws IOException, ClassNotFoundException {
609
in.defaultReadObject();
610
if (nodes != null) {
611
- nodes = new ArrayList(nodes);
+ // cast to Vector is required
+ nodes = new ArrayList((Vector)nodes);
612
}
613
614
0 commit comments