From e723b90de49d395b0b6eba368c8d513735cd7961 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Mon, 14 Nov 2011 12:11:39 +1100 Subject: [PATCH] 363488 ShutdownHandler pollutes the log during shutdown --- .../org/eclipse/jetty/server/handler/ShutdownHandler.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java index 701d774b557..810f48993d9 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ShutdownHandler.java @@ -114,6 +114,10 @@ public class ShutdownHandler extends AbstractHandler { shutdownServer(); } + catch (InterruptedException e) + { + LOG.ignore(e); + } catch (Exception e) { throw new RuntimeException("Shutting down server",e);