Package io.netty.channel.unix
Class LimitsStaticallyReferencedJniMethods
java.lang.Object
io.netty.channel.unix.LimitsStaticallyReferencedJniMethods
This 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 Details
-
LimitsStaticallyReferencedJniMethods
private LimitsStaticallyReferencedJniMethods()
-
-
Method Details
-
ssizeMax
static long ssizeMax() -
iovMax
static int iovMax() -
uioMaxIov
static int uioMaxIov() -
sizeOfjlong
static int sizeOfjlong() -
udsSunPathSize
static int udsSunPathSize()
-