- 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 voidtryLoadClasses(Class<?> loadingClass, Class<?>... classes)Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.
-
-
-
Method Detail
-
tryLoadClasses
public static void tryLoadClasses(Class<?> loadingClass, Class<?>... classes)
Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.- Parameters:
loadingClass- theClassthat wants to load the classes.classes- the classes to load.
-
-