--- old/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/VariableStack.java 2017-11-06 22:19:35.606832054 -0800 +++ new/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/VariableStack.java 2017-11-06 22:19:35.153787866 -0800 @@ -1,6 +1,6 @@ /* - * reserved comment block - * DO NOT REMOVE OR ALTER! + * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * @LastModified: Nov 2017 */ /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -63,8 +63,8 @@ VariableStack vs = (VariableStack) super.clone(); // I *think* I can get away with a shallow clone here? - vs._stackFrames = (XObject[]) _stackFrames.clone(); - vs._links = (int[]) _links.clone(); + vs._stackFrames = _stackFrames.clone(); + vs._links = _links.clone(); return vs; }