FYI: javax.xml bugfix
Gary Benson
gbenson@redhat.com
Wed Mar 7 15:37:00 GMT 2007
Hi all,
This commit fixes a bug which caused
javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder()
to fail if another JAXP implementation was in the classpath.
The specification allows for the various abstract classes in
javax.xml to be overridden by the endorsed classes override
stuff, but without this parts of other JAXP implementations
would be loaded even without being endorsed.
Cheers,
Gary
-------------- next part --------------
Index: classpath/ChangeLog.gcj
===================================================================
--- classpath/ChangeLog.gcj (revision 122660)
+++ classpath/ChangeLog.gcj (working copy)
@@ -1,3 +1,8 @@
+2007-03-07 Gary Benson <gbenson@redhat.com>
+
+ * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
+ New file.
+
2007-03-06 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am(gkeytool.pod): Don't use sed -i.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 122660)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2007-03-07 Gary Benson <gbenson@redhat.com>
+
+ * sources.am, Makefile.in: Rebuilt.
+
2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
* gcj/javaprims.h: Regenerated.
Index: classpath/resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList
===================================================================
--- classpath/resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList (revision 0)
+++ classpath/resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList (revision 0)
@@ -0,0 +1 @@
+gnu.xml.dom.ImplementationSource
Index: sources.am
===================================================================
--- sources.am (revision 122660)
+++ sources.am (working copy)
@@ -8984,4 +8984,5 @@
classpath/resource/META-INF/services/javax.xml.parsers.SAXParserFactory \
classpath/resource/META-INF/services/javax.xml.parsers.TransformerFactory \
classpath/resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory \
+ classpath/resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList \
classpath/resource/META-INF/services/org.xml.sax.driver
Index: Makefile.in
===================================================================
--- Makefile.in (revision 122660)
+++ Makefile.in (working copy)
@@ -7772,6 +7772,7 @@
classpath/resource/META-INF/services/javax.xml.parsers.SAXParserFactory \
classpath/resource/META-INF/services/javax.xml.parsers.TransformerFactory \
classpath/resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory \
+ classpath/resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList \
classpath/resource/META-INF/services/org.xml.sax.driver
omitted_headers = java/lang/ClassLoader.h java/lang/Thread.h \
More information about the Java-patches
mailing list