From 485388f60a91d4179c727dbf035918f440005205 Mon Sep 17 00:00:00 2001 From: hansonr Date: Mon, 26 Aug 2019 12:38:49 -0500 Subject: [PATCH] JAL-3423 TestNG test bugs Cache logger not initializing early enough for some TestNG tests. --- src/jalview/gui/Desktop.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 9fbfb83..a58e22a 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -378,6 +378,8 @@ public class Desktop extends GDesktop */ public Desktop(boolean forInstance) { + + Cache.initLogger(); instanceOnly = true; } @@ -388,6 +390,7 @@ public class Desktop extends GDesktop @SuppressWarnings("unused") private Desktop() { + Cache.initLogger(); try { /** -- 1.7.10.2