JETTY-1261 resolve usage of null listener is StandardDescriptorProcessor

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2218 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jesse McConnell 2010-08-18 17:43:59 +00:00
parent b647bf0a16
commit a3033e34f8
2 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,7 @@ jetty-7.2-SNAPSHOT
+ JETTY-1249 Apply max idle time to all connectors + JETTY-1249 Apply max idle time to all connectors
+ JETTY-1250 Parallel start of HandlerCollection + JETTY-1250 Parallel start of HandlerCollection
+ JETTY-1256 annotation jars from Orbit + JETTY-1256 annotation jars from Orbit
+ JETTY-1261 errant listener usage in StandardDescriptorProcessor
+ Fix jetty-plus.xml for new configuration names + Fix jetty-plus.xml for new configuration names
+ Added ignore to Logger interface + Added ignore to Logger interface
+ Improved debug dump + Improved debug dump

View File

@ -1189,7 +1189,6 @@ public class StandardDescriptorProcessor extends IterativeDescriptorProcessor
((WebDescriptor)descriptor).addClassName(className); ((WebDescriptor)descriptor).addClassName(className);
context.addEventListener(listener);
Class<? extends EventListener> listenerClass = (Class<? extends EventListener>)context.loadClass(className); Class<? extends EventListener> listenerClass = (Class<? extends EventListener>)context.loadClass(className);
listener = newListenerInstance(context,listenerClass); listener = newListenerInstance(context,listenerClass);
if (!(listener instanceof EventListener)) if (!(listener instanceof EventListener))