From f5f9fc8ce852eab08cc73b36356d6f44004b540a Mon Sep 17 00:00:00 2001 From: Eryk Szymanski Date: Mon, 3 Feb 2014 23:53:05 +0100 Subject: [PATCH] Prevent StackOverflowError in JettyTreeLogger getName() method was recursively calling itself Change-Id: Ib56ac03562d414284683e8447ec604d63434efa4 Signed-off-by: Eryk Szymanski --- .../java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java b/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java index 7ba2a3ed23..09a7fb6aac 100644 --- a/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java +++ b/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java @@ -202,7 +202,7 @@ public class GerritDebugLauncher extends ServletContainerLauncher { @Override public String getName() { - return this.getName(); + return this.getClass().getName(); } /**