From 4c8441a0dfb2cbaf705b0af1b3c27ebc97e4169d Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Tue, 17 Jan 2017 10:15:20 +0100 Subject: [PATCH] Fixes #1243 - ProxyServletFailureTest.testServerException() results in ServletException. --- .../java/org/eclipse/jetty/proxy/ProxyServletFailureTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ProxyServletFailureTest.java b/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ProxyServletFailureTest.java index c539b94cf14..1181afc6968 100644 --- a/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ProxyServletFailureTest.java +++ b/jetty-proxy/src/test/java/org/eclipse/jetty/proxy/ProxyServletFailureTest.java @@ -44,6 +44,7 @@ import org.eclipse.jetty.client.api.Request; import org.eclipse.jetty.client.api.Response; import org.eclipse.jetty.client.util.BytesContentProvider; import org.eclipse.jetty.client.util.DeferredContentProvider; +import org.eclipse.jetty.server.HttpChannel; import org.eclipse.jetty.server.HttpConnectionFactory; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; @@ -397,7 +398,7 @@ public class ProxyServletFailureTest @Test public void testServerException() throws Exception { - try (StacklessLogging stackless = new StacklessLogging(ServletHandler.class)) + try (StacklessLogging stackless = new StacklessLogging(HttpChannel.class)) { prepareProxy(); prepareServer(new HttpServlet()