--- old/jdk/test/javax/xml/jaxp/common/8032908/TestFunc.java 2015-05-28 16:37:06.935301233 +0300 +++ new/jdk/test/javax/xml/jaxp/common/8032908/TestFunc.java 2015-05-28 16:37:06.815301236 +0300 @@ -26,8 +26,9 @@ public class TestFunc { public static String test(Node node) { - String s = node.getTextContent(); - return s; + String textContent = node.getTextContent(); + String nodeValue = node.getNodeValue(); + return textContent + ":" + nodeValue; } }