OSDN Git Service

PR classpath/31303:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2007 19:29:54 +0000 (19:29 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2007 19:29:54 +0000 (19:29 +0000)
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
(createXMLReader): Code in Classpath default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123267 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/classpath/ChangeLog
libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java
libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class

index 305ac4f..7c1e391 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-27  Tom Tromey  <tromey@redhat.com>
+
+       PR classpath/31303:
+       * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
+       (createXMLReader): Code in Classpath default.
+
 2007-03-27  Keith Seitz  <keiths@redhat.com>
 
        Merged from upstream:
index 0516ff2..304f750 100644 (file)
@@ -137,6 +137,11 @@ final public class XMLReaderFactory
        if (className == null) {
 // BEGIN DISTRIBUTION-SPECIFIC
 
+           // CLASSPATH LOCAL: have to code in the backup.
+           // Among other things, see PR 31303, and this thread:
+           // http://gcc.gnu.org/ml/java-patches/2007-q1/msg00661.html
+           className = "gnu.xml.stream.SAXParser";
+
            // EXAMPLE:
            // className = "com.example.sax.XmlReader";
            // or a $JAVA_HOME/jre/lib/*properties setting...
index 25c986c..9992ef2 100644 (file)
Binary files a/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class and b/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class differ