Hi,

This issue was caused by the change 8152912 where the logic was changed so that the parser was directly instantiated when the className was within the DEFAULT_PACKAGE. The problem is that the className can be wrong even if it contains the DEFAULT_PACKAGE.

The patch reverts the change 8152912 and adds a check for the default class name so that only if the specified className is the default parser, an instance is instantiated.

JBS: https://bugs.openjdk.java.net/browse/JDK-8158246
webrev: http://cr.openjdk.java.net/~joehw/jdk9/8158246/webrev/

8152912 webrev:
http://cr.openjdk.java.net/~joehw/jdk9/8152912/webrev01/src/java.xml/share/classes/org/xml/sax/helpers/NewInstance.java.udiff.html

Thanks,
Joe

Reply via email to