mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-10 08:51:19 +00:00
Initialize LoggerFactory#delegateFactory with JUL instance without reflection to ensure AOT compiler will include the class
This commit is contained in:
@@ -52,7 +52,8 @@ public class LoggerFactory {
|
||||
return;
|
||||
}
|
||||
}
|
||||
configureWith("JUL", true, loader);
|
||||
// Do not use dynamic classloading here to ensure the class is visible by AOT compilers
|
||||
delegateFactory = new JULLogDelegateFactory();
|
||||
}
|
||||
|
||||
private static boolean configureWith(String name, boolean shortName, ClassLoader loader) {
|
||||
|
||||
Reference in New Issue
Block a user