Top Description Constructors Methods
io.netty5.channel.unix

pack-priv final Class ErrorsStaticallyReferencedJniMethods

extends Object
Class Inheritance

This class is necessary to break the following cyclic dependency:
  1. JNI_OnLoad
  2. JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
  3. FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
  4. java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered.
Static members which call JNI methods must not be declared in this class!

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native int
pack-priv static native String
strError(int err)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ErrorsStaticallyReferencedJniMethodsback to summary
private ErrorsStaticallyReferencedJniMethods()

Method Detail

errnoEAGAINback to summary
pack-priv static native int errnoEAGAIN()
errnoEBADFback to summary
pack-priv static native int errnoEBADF()
errnoECONNRESETback to summary
pack-priv static native int errnoECONNRESET()
errnoEINPROGRESSback to summary
pack-priv static native int errnoEINPROGRESS()
errnoENOENTback to summary
pack-priv static native int errnoENOENT()
errnoENOTCONNback to summary
pack-priv static native int errnoENOTCONN()
errnoEPIPEback to summary
pack-priv static native int errnoEPIPE()
errnoEWOULDBLOCKback to summary
pack-priv static native int errnoEWOULDBLOCK()
errorEALREADYback to summary
pack-priv static native int errorEALREADY()
errorECONNREFUSEDback to summary
pack-priv static native int errorECONNREFUSED()
errorEISCONNback to summary
pack-priv static native int errorEISCONN()
errorENETUNREACHback to summary
pack-priv static native int errorENETUNREACH()
strErrorback to summary
pack-priv static native String strError(int err)