native-lib-loader icon indicating copy to clipboard operation
native-lib-loader copied to clipboard

Failed to extractJni on MacOS for incorrect ClassLoader retried.

Open yuqinghua opened this issue 2 years ago • 0 comments

In the method: BaseJniExtractor#extractJni , you retried to load resource with altLibName to adapt Darwin "jnilib or dylib" suffix. Lib Resource was loaded with libraryJarClass.getClassLoader on first time, but tried with this.getClassLoader() secondly. You should load the libResource with libraryJarClass.getClassLoader consistently. image

yuqinghua avatar Apr 13 '23 03:04 yuqinghua