395394 allow logging from boot classloader

This commit is contained in:
Greg Wilkins 2012-11-30 08:33:56 +11:00
parent cfa1c1e2e4
commit 61a0d48df4
1 changed files with 15 additions and 22 deletions

View File

@ -117,8 +117,6 @@ public class XmlConfiguration
private synchronized static XmlParser initParser() private synchronized static XmlParser initParser()
{ {
XmlParser parser = new XmlParser(); XmlParser parser = new XmlParser();
try
{
URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true); URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true);
URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true); URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true);
parser.redirectEntity("configure.dtd",config76); parser.redirectEntity("configure.dtd",config76);
@ -135,12 +133,7 @@ public class XmlConfiguration
parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76); parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76);
parser.redirectEntity("-//Jetty//Configure//EN",config76); parser.redirectEntity("-//Jetty//Configure//EN",config76);
}
catch (ClassNotFoundException e)
{
LOG.warn(e.toString());
LOG.debug(e);
}
return parser; return parser;
} }