aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-03-27 19:29:54 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-03-27 19:29:54 +0000
commit17e50382ccafe5928fc37d53197e427f606ce171 (patch)
treebfb737d940fb5d27a00ac9f46efb2dd457f1911a /libjava/classpath
parentfd6a66a10afd7a3c29da6609a10d9f0ad9f8de52 (diff)
downloadgcc-17e50382ccafe5928fc37d53197e427f606ce171.zip
gcc-17e50382ccafe5928fc37d53197e427f606ce171.tar.gz
gcc-17e50382ccafe5928fc37d53197e427f606ce171.tar.bz2
re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)
PR classpath/31303: * external/sax/org/xml/sax/helpers/XMLReaderFactory.java (createXMLReader): Code in Classpath default. From-SVN: r123267
Diffstat (limited to 'libjava/classpath')
-rw-r--r--libjava/classpath/ChangeLog6
-rw-r--r--libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java5
-rw-r--r--libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.classbin3227 -> 3272 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog
index 305ac4f..7c1e391 100644
--- a/libjava/classpath/ChangeLog
+++ b/libjava/classpath/ChangeLog
@@ -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:
diff --git a/libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java b/libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java
index 0516ff2..304f750 100644
--- a/libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java
+++ b/libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java
@@ -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...
diff --git a/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class b/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class
index 25c986c..9992ef2 100644
--- a/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class
+++ b/libjava/classpath/lib/org/xml/sax/helpers/XMLReaderFactory.class
Binary files differ