Add comment

This commit is contained in:
Taro L. Saito 2011-08-02 15:15:15 +09:00
parent aa04d562f8
commit e01077db8a
1 changed files with 11 additions and 0 deletions

View File

@ -239,6 +239,17 @@ public class SnappyLoader
} }
/**
* Load snappy-java's native code using load method of the
* SnappyNativeLoader class injected to the root class loader.
*
* @param loaderClass
* @throws SecurityException
* @throws NoSuchMethodException
* @throws IllegalArgumentException
* @throws IllegalAccessException
* @throws InvocationTargetException
*/
private static void loadNativeLibrary(Class< ? > loaderClass) throws SecurityException, NoSuchMethodException, private static void loadNativeLibrary(Class< ? > loaderClass) throws SecurityException, NoSuchMethodException,
IllegalArgumentException, IllegalAccessException, InvocationTargetException { IllegalArgumentException, IllegalAccessException, InvocationTargetException {
if (loaderClass == null) if (loaderClass == null)