diff src/org/eclipse/jetty/server/Response.java @ 887:df84a1741687

make Connector reference to server explicit
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 23:59:56 -0600
parents 8e9db0bbf4f9
children cab5830e1ab0
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Response.java	Tue Oct 04 20:27:50 2016 -0600
+++ b/src/org/eclipse/jetty/server/Response.java	Tue Oct 04 23:59:56 2016 -0600
@@ -252,7 +252,7 @@
 			if (context!=null)
 				error_handler=context.getContextHandler().getErrorHandler();
 			if (error_handler==null)
-				error_handler = _connection.getConnector().getServer().getBean(ErrorHandler.class);
+				error_handler = _connection.getConnector().server.getBean(ErrorHandler.class);
 			if (error_handler!=null)
 			{
 				request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(code));