diff --git a/src/main/java/org/xerial/snappy/SnappyLoader.java b/src/main/java/org/xerial/snappy/SnappyLoader.java index a361ac7..b0dfffa 100755 --- a/src/main/java/org/xerial/snappy/SnappyLoader.java +++ b/src/main/java/org/xerial/snappy/SnappyLoader.java @@ -54,13 +54,15 @@ import java.util.Properties; * This SnappyLoader searches for native libraries (snappyjava.dll, * libsnappy.so, etc.) in the following order: *
@@ -132,10 +134,9 @@ public class SnappyLoader } /** - * Load SnappyNative and its JNI native implementation in the root class - * loader. This process is necessary to avoid the JNI multi-loading issue - * when the same JNI library is loaded by different class loaders in the - * same JVM. + * Load SnappyNative and its JNI native implementation using the root class + * loader. This hack is for avoiding the JNI multi-loading issue when the + * same JNI library is loaded by different class loaders. * * In order to load native code in the root class loader, this method first * inject SnappyNativeLoader class into the root class loader, because