mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
System.loadLibrary() not present in EncoderJNI.java ? #205
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kjatin on GitHub (Jan 8, 2018).
I was trying to use the JNI wrapper but found that EncoderJNI.java file does not have a loadLibrary statement in a static block.
It does not work until I add the following piece of code:
static{ System.loadLibrary("myBrotliJNILibraryName"); }Any particular reason for this?