--- old/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/NamespaceMappings.java 2017-11-06 22:19:31.664447535 -0800 +++ new/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/NamespaceMappings.java 2017-11-06 22:19:31.208403055 -0800 @@ -1,6 +1,6 @@ /* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. - * @LastModified: Oct 2017 + * @LastModified: Nov 2017 */ /* * Licensed to the Apache Software Foundation (ASF) under one or more @@ -250,7 +250,7 @@ { if (m_nodeStack.isEmpty()) return; - MappingRecord map = (MappingRecord)(m_nodeStack.peek()); + MappingRecord map = m_nodeStack.peek(); int depth = map.m_declarationDepth; if (depth < elemDepth) return; @@ -258,7 +258,7 @@ * so get rid of it */ - map = (MappingRecord) m_nodeStack.pop(); + map = m_nodeStack.pop(); final String prefix = map.m_prefix; popNamespace(prefix); if (saxHandler != null)