--- a/jaxp/src/org/xml/sax/helpers/XMLReaderFactory.java Mon Jun 17 11:18:50 2013 +0100
+++ b/jaxp/src/org/xml/sax/helpers/XMLReaderFactory.java Tue Jun 18 09:36:20 2013 +0100
@@ -85,6 +85,7 @@
private static final String property = "org.xml.sax.driver";
private static SecuritySupport ss = new SecuritySupport();
+ private static String _clsFromJar = null;
private static boolean _jarread = false;
/**
* Attempt to create an XMLReader from system defaults.
@@ -163,14 +164,14 @@
}
if (in != null) {
- reader = new BufferedReader (
- new InputStreamReader (in, "UTF8"));
- className = reader.readLine ();
+ reader = new BufferedReader (new InputStreamReader (in, "UTF8"));
+ _clsFromJar = reader.readLine ();
in.close ();
}
} catch (Exception e) {
}
}
+ className = _clsFromJar;
}
// 3. Distro-specific fallback