Package io.netty.channel.unix
Class LimitsStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.unix.LimitsStaticallyReferencedJniMethods
-
final class LimitsStaticallyReferencedJniMethods extends java.lang.Object
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 Summary
Constructors Modifier Constructor Description private
LimitsStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static int
iovMax()
(package private) static int
sizeOfjlong()
(package private) static long
ssizeMax()
(package private) static int
udsSunPathSize()
(package private) static int
uioMaxIov()
-