Issue fixed reference cycles in Xalan's NamespaceMappings.
Change on 2018/03/07 by tball
@@ -354,7 +354,7 @@ public class NamespaceMappings
* and popping of namespaces to one push or one pop on
* one stack rather than on 3 separate stacks.
*/
- class MappingRecord {
+ static class MappingRecord {
final String m_prefix; // the prefix
final String m_uri; // the uri, possibly "" but never null
// the depth of the element where declartion was made
@@ -371,7 +371,7 @@ public class NamespaceMappings
* provides a minimal subset of methods and is faster
* because it is not thread-safe.
*/
- private class Stack {
+ private static class Stack {
private int top = -1;
private int max = 20;
Object[] m_stack = new Object[max];
