You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JNI specification requires that the classloader of the caller of System.loadLibrary be the same classloader of the class attempting to consume the native methods. Since native-lib-loader tends to be a dependency of other libraries, and it is the mechanism which eventually invokes System.loadLibrary, it must be the case that all classes using native-lib-loader be loaded by the same class loader that loaded it.
The text was updated successfully, but these errors were encountered:
The JNI specification requires that the classloader of the caller of System.loadLibrary be the same classloader of the class attempting to consume the native methods. Since native-lib-loader tends to be a dependency of other libraries, and it is the mechanism which eventually invokes System.loadLibrary, it must be the case that all classes using native-lib-loader be loaded by the same class loader that loaded it.
The text was updated successfully, but these errors were encountered: