Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to extractJni on MacOS for incorrect ClassLoader retried. #47

Open
yuqinghua opened this issue Apr 13, 2023 · 0 comments
Open

Failed to extractJni on MacOS for incorrect ClassLoader retried. #47

yuqinghua opened this issue Apr 13, 2023 · 0 comments

Comments

@yuqinghua
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant