Skip to content

Commit 58ee79f

Browse files
holly-cumminsgsmet
authored andcommitted
Remove uses of static bytecode-adjusted logger
(cherry picked from commit 963e113)
1 parent 2ece968 commit 58ee79f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test-framework/junit5/src/main/java/io/quarkus/test/junit/classloading/FacadeClassLoader.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import io.quarkus.bootstrap.app.StartupAction;
3939
import io.quarkus.bootstrap.classloading.QuarkusClassLoader;
4040
import io.quarkus.bootstrap.resolver.AppModelResolverException;
41-
import io.quarkus.logging.Log;
4241
import io.quarkus.test.junit.AppMakerHelper;
4342
import io.quarkus.test.junit.QuarkusIntegrationTest;
4443
import io.quarkus.test.junit.QuarkusTestExtension;
@@ -225,7 +224,7 @@ public FacadeClassLoader(ClassLoader parent, boolean isAuxiliaryApplication, Cur
225224

226225
@Override
227226
public Class<?> loadClass(String name) throws ClassNotFoundException {
228-
Log.debugf("Facade classloader loading %s", name);
227+
log.debugf("Facade classloader loading %s", name);
229228

230229
if (peekingClassLoader == null) {
231230
throw new RuntimeException("Attempted to load classes with a closed classloader: " + this);
@@ -430,7 +429,7 @@ private boolean registersQuarkusTestExtensionOnField(Class<?> inspectionClass) {
430429
// With -Dnative loading the KeycloakRealmResourceManager gives a class not found exception for junit's TestRule
431430
// java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/junit/rules/TestRule
432431
// TODO it would be nice to diagnose why that's happening
433-
Log.warn("Could not discover field annotations: " + e);
432+
log.warn("Could not discover field annotations: " + e);
434433
return false;
435434
}
436435

0 commit comments

Comments
 (0)