Hi,Please review a fix to a regression that resulted in invalid output in a transform that contains entity references. The regression was caused by a JDK9 patch [1]. Adding back the conditional checks fixed the issue.
JBS: https://bugs.openjdk.java.net/browse/JDK-8237456 webrevs: http://cr.openjdk.java.net/~joehw/jdk15/8237456/webrev/ [1] https://bugs.openjdk.java.net/browse/JDK-8087303 Thanks, Joe