Community
Participate
Working Groups
Build Identifier: 7.3.1.v20110307 org.eclipse.jetty.xml.XmlConfiguration contains the following code: try { // Use reflection to look up 1.6 service loader // loader=ServiceLoader.load(ConfigurationProcessorFactory.class); Class<?> slc = ClassLoader.getSystemClassLoader().loadClass("java.util.ServiceLoader"); Method load = slc.getMethod("load",Class.class); loader=(Iterable<?>)load.invoke(null,ConfigurationProcessorFactory.class); } catch(Exception e) { e.printStackTrace(); Log.ignore(e); } finally { __factoryLoader=loader; } This produces a nasty stacktrace using Java 1.5. I suggest removing "e.printStackTrace();". Reproducible: Always Steps to Reproduce: Create an instance of XmlConfiguration.
Removed printStackTrace() call, as it apparently it was left over from debugging. Committed r2917.
(In reply to comment #1) > Removed printStackTrace() call, as it apparently it was left over from > debugging. > > Committed r2917. Thank you for the extremely fast response! Then I will look forward to the next version.