< prev index next >
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/VariableStack.java
Print this page
*** 1,8 ****
/*
! * reserved comment block
! * DO NOT REMOVE OR ALTER!
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
--- 1,8 ----
/*
! * 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
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
*** 61,72 ****
{
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();
return vs;
}
/**
--- 61,72 ----
{
VariableStack vs = (VariableStack) super.clone();
// I *think* I can get away with a shallow clone here?
! vs._stackFrames = _stackFrames.clone();
! vs._links = _links.clone();
return vs;
}
/**
< prev index next >