loadNativeLibrary() — netty Function Reference
Architecture documentation for the loadNativeLibrary() function in Quiche.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e609a2ba_993e_608c_ea8f_1db41d9bbce1["loadNativeLibrary()"] 6971678f_642f_87e6_e277_8e03dc5756a8["Quiche"] e609a2ba_993e_608c_ea8f_1db41d9bbce1 -->|defined in| 6971678f_642f_87e6_e277_8e03dc5756a8 style e609a2ba_993e_608c_ea8f_1db41d9bbce1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quiche.java lines 70–87
private static void loadNativeLibrary() {
// This needs to be kept in sync with what is defined in netty_quic_quiche.c
// and pom.xml as jniLibPrefix.
String libName = "netty_quiche42";
ClassLoader cl = PlatformDependent.getClassLoader(Quiche.class);
if (!PlatformDependent.isAndroid()) {
libName += '_' + PlatformDependent.normalizedOs()
+ '_' + PlatformDependent.normalizedArch();
}
try {
NativeLibraryLoader.load(libName, cl);
} catch (UnsatisfiedLinkError e) {
logger.debug("Failed to load {}", libName, e);
throw e;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does loadNativeLibrary() do?
loadNativeLibrary() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quiche.java.
Where is loadNativeLibrary() defined?
loadNativeLibrary() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quiche.java at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free