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
A JNI library can only be loaded once per classloader, so if any classloader which is not a child of the classloader which loaded the JNI library tries to use the JNI version, it will fail. This can be a problem with servlet containers.
snappy-java has a hack to inject bytecode into the root classloader but I'm not sure this is the way to go...
If not fixable, I think we should either document this behavior or forbid loading the JNI lib from a non-root classloader?
The text was updated successfully, but these errors were encountered:
A JNI library can only be loaded once per classloader, so if any classloader which is not a child of the classloader which loaded the JNI library tries to use the JNI version, it will fail. This can be a problem with servlet containers.
snappy-java has a hack to inject bytecode into the root classloader but I'm not sure this is the way to go...
If not fixable, I think we should either document this behavior or forbid loading the JNI lib from a non-root classloader?
The text was updated successfully, but these errors were encountered: