Merge remote-tracking branch 'origin/master' into servlet-3.1-api

This commit is contained in:
Jan Bartel 2013-06-18 08:37:49 +10:00
commit 31082e1f8e
2 changed files with 2 additions and 1 deletions

View File

@ -509,7 +509,7 @@ public class ServletContextHandler extends ContextHandler
setSessionHandler((SessionHandler) handler);
else if (handler instanceof SecurityHandler)
setSecurityHandler((SecurityHandler)handler);
else if (handler instanceof HandlerWrapper)
else if (handler == null || handler instanceof HandlerWrapper)
{
super.setHandler(handler);
relinkHandlers();

View File

@ -775,3 +775,4 @@
</profile>
</profiles>
</project>