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:
parent
b647bf0a16
commit
a3033e34f8
|
@ -20,6 +20,7 @@ jetty-7.2-SNAPSHOT
|
|||
+ JETTY-1249 Apply max idle time to all connectors
|
||||
+ JETTY-1250 Parallel start of HandlerCollection
|
||||
+ JETTY-1256 annotation jars from Orbit
|
||||
+ JETTY-1261 errant listener usage in StandardDescriptorProcessor
|
||||
+ Fix jetty-plus.xml for new configuration names
|
||||
+ Added ignore to Logger interface
|
||||
+ Improved debug dump
|
||||
|
|
|
@ -1189,7 +1189,6 @@ public class StandardDescriptorProcessor extends IterativeDescriptorProcessor
|
|||
|
||||
((WebDescriptor)descriptor).addClassName(className);
|
||||
|
||||
context.addEventListener(listener);
|
||||
Class<? extends EventListener> listenerClass = (Class<? extends EventListener>)context.loadClass(className);
|
||||
listener = newListenerInstance(context,listenerClass);
|
||||
if (!(listener instanceof EventListener))
|
||||
|
|
Loading…
Reference in New Issue