Under some JDK's (notably both Sun and IBM 1.4.0), getClassLoader(), when invoked on the JAXP or SAX classes, it returns null. This means that the fallback mechanism in these APIs may not work correctly: in particular, when an attempt to invoke an unknown Parser/XMLReader implementation is made in SAX, a NullPointerException rather than the correct ClassNotFoundException results. This patch fixes this problem, by using Class.forName() in the event that the bootstrap classloader is not returned in this particular situation. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226239 13f79535-47bb-0310-9956-ffa450edef68
xml-commons/README.txt $Id$ HEAR YE, HEAR YE! Software and documentation in this repository are covered under a number of different licenses. Most files under xml-commons/java/external/ are covered under their respective LICENSE.*.txt files; see the matching README.*.txt files for descriptions. Note that xml-commons/java/external/build.xml and xml-commons/java/external/src/manifest.commons are both covered under the Apache Software License. All files not otherwise noted are covered under the Apache Software License in LICENSE.txt including all files under xml-commons/java/src
Description
Languages
Java
97.2%
HTML
2.8%