File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public class Jooby implements Router, Registry {
6767 static final String APP_NAME = "___app_name__" ;
6868
6969 private static final String JOOBY_RUN_HOOK = "___jooby_run_hook__" ;
70- private static final Logger log = LoggerFactory .getLogger (Jooby .class );
70+ private final Logger log = LoggerFactory .getLogger (Jooby .class );
7171
7272 private final transient AtomicBoolean started = new AtomicBoolean (true );
7373
Original file line number Diff line number Diff line change 1+ /*
2+ * Jooby https://jooby.io
3+ * Apache License Version 2.0 https://jooby.io/LICENSE.txt
4+ * Copyright 2014 Edgar Espina
5+ */
6+ package io .jooby ;
7+
8+ import static org .junit .jupiter .api .Assertions .assertFalse ;
9+
10+ import java .lang .reflect .Modifier ;
11+
12+ import org .junit .jupiter .api .Test ;
13+
14+ public class Issue3963 {
15+
16+ @ Test
17+ void logVariableCannotBeStatic () throws NoSuchFieldException {
18+ var field = Jooby .class .getDeclaredField ("log" );
19+ assertFalse (Modifier .isStatic (field .getModifiers ()));
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments