From 0c7de2e5bde2339619ed1fac6000ee823e5d149e Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 9 Jul 2014 08:54:10 -0700 Subject: [PATCH] 438331 - AbstractLogger.debug(String,long) infinite loop + Breaking infinit loop --- .../main/java/org/eclipse/jetty/util/log/AbstractLogger.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/AbstractLogger.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/AbstractLogger.java index 66453768a22..36d19780f03 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/AbstractLogger.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/AbstractLogger.java @@ -79,6 +79,8 @@ public abstract class AbstractLogger implements Logger public void debug(String msg, long arg) { if (isDebugEnabled()) - debug(msg,new Long(arg)); + { + debug(msg,new Object[] { new Long(arg) }); + } } }