Skip to content

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

Open
@yuqinghua

Description

@yuqinghua

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yuqinghua

        Issue actions

          Failed to extractJni on MacOS for incorrect ClassLoader retried. · Issue #47 · scijava/native-lib-loader