--- old/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java 2015-10-06 20:50:28.947807942 +0200 +++ new/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java 2015-10-06 20:50:28.875807941 +0200 @@ -744,11 +744,11 @@ // If node-boolean comparison -> convert node to boolean if (left instanceof Node || right instanceof Node) { if (left instanceof Boolean) { - right = new Boolean(booleanF(right)); + right = booleanF(right); hasSimpleArgs = true; } if (right instanceof Boolean) { - left = new Boolean(booleanF(left)); + left = booleanF(left); hasSimpleArgs = true; } }