Merge remote-tracking branch 'origin/master' into servlet-3.1-api
This commit is contained in:
commit
31082e1f8e
|
@ -509,7 +509,7 @@ public class ServletContextHandler extends ContextHandler
|
||||||
setSessionHandler((SessionHandler) handler);
|
setSessionHandler((SessionHandler) handler);
|
||||||
else if (handler instanceof SecurityHandler)
|
else if (handler instanceof SecurityHandler)
|
||||||
setSecurityHandler((SecurityHandler)handler);
|
setSecurityHandler((SecurityHandler)handler);
|
||||||
else if (handler instanceof HandlerWrapper)
|
else if (handler == null || handler instanceof HandlerWrapper)
|
||||||
{
|
{
|
||||||
super.setHandler(handler);
|
super.setHandler(handler);
|
||||||
relinkHandlers();
|
relinkHandlers();
|
||||||
|
|
Loading…
Reference in New Issue