Hi,

The root cause of this issue is that SPECJVM2008 uses a 3rd party parser XOM 1.1 to convert the output to its canonical form. The XOM parser directly references to the JDK parser implementation "SAXParser" with a different configuration than the default JDK parser, in this case, the DTD-only parser configuration "DTDConfiguration". In JAXP 1.5, we added XMLSecurityPropertyManager that is instantiated in the default configuration "XML11Configuration". Since XMLSecurityPropertyManager is not supported by DTDConfiguration, XOM no longer works.

This patch is to add the XMLSecurityPropertyManager to DTDConfiguration so that XOM will continue to work properly with jdk8/7u40. I don't know if there's any library out there that calls into NonValidatingConfiguration directly. Since it's in a similar situation as DTDConfiguration, I added XMLSecurityPropertyManager support as well.

webrec: http://cr.openjdk.java.net/~joehw/jdk8/8022548/webrev/

test:
I created a new test that runs with xom1.1.jar on the classpath, and passed.
       all unit tests/SQE regression tests passed

Thanks,
Joe

Reply via email to