summaryrefslogtreecommitdiff
path: root/libjava/classpath/external
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-27 19:29:54 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-27 19:29:54 +0000
commit18514e7dcafff194550e0039362954dae3ccf3d5 (patch)
treebfb737d940fb5d27a00ac9f46efb2dd457f1911a /libjava/classpath/external
parentc43fdf8258d98e077e4e0bed5545db5dc763c10e (diff)
downloadgcc-18514e7dcafff194550e0039362954dae3ccf3d5.tar.gz
PR classpath/31303:
* 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
Diffstat (limited to 'libjava/classpath/external')
-rw-r--r--libjava/classpath/external/sax/org/xml/sax/helpers/XMLReaderFactory.java5
1 files changed, 5 insertions, 0 deletions
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 0516ff24e71..304f750b9cc 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...