From 7b5d3b2b5a6ae31ee5ab0c6202c16df311bc6dd1 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 10 Aug 2017 11:22:06 +1000 Subject: [PATCH] Issue #1706 Log class uses self Loader --- jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java index a7c15eee741..f82e775103c 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java @@ -171,7 +171,7 @@ public class Log try { - Class log_class = __logClass==null?null:Loader.loadClass(__logClass); + Class log_class = __logClass==null?null:Loader.loadClass(Log.class,__logClass); if (LOG == null || (log_class!=null && !LOG.getClass().equals(log_class))) { LOG = (Logger)log_class.newInstance();