Package io.netty.channel.unix
Class LimitsStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.unix.LimitsStaticallyReferencedJniMethods
-
final class LimitsStaticallyReferencedJniMethods extends java.lang.ObjectThis class is necessary to break the following cyclic dependency:- JNI_OnLoad
- JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
- FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
- java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLimitsStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intiovMax()(package private) static intsizeOfjlong()(package private) static longssizeMax()(package private) static intudsSunPathSize()(package private) static intuioMaxIov()
-