- java.lang.Object
-
- io.netty5.util.internal.ClassInitializerUtil
-
public final class ClassInitializerUtil extends Object
Utility which ensures that classes are loaded by theClassLoader
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
tryLoadClasses(Class<?> loadingClass, Class<?>... classes)
Preload the given classes and so ensure theClassLoader
has these loaded after this method call.
-
-
-
Method Detail
-
tryLoadClasses
public static void tryLoadClasses(Class<?> loadingClass, Class<?>... classes)
Preload the given classes and so ensure theClassLoader
has these loaded after this method call.- Parameters:
loadingClass
- theClass
that wants to load the classes.classes
- the classes to load.
-
-