Class ClassInitializerUtil
java.lang.Object
io.netty.util.internal.ClassInitializerUtil
Utility which ensures that classes are loaded by the
ClassLoader.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidtryLoadClasses(Class<?> loadingClass, Class<?>... classes) Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.
-
Method Details
-
tryLoadClasses
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.
-