also fixing JNI library name in JUnit tests

This commit is contained in:
Andrey Pavlenko 2013-08-13 13:18:01 +04:00
parent d4e098f401
commit 4902db1c42

View File

@ -97,7 +97,7 @@ public class OpenCVTestCase extends TestCase {
super.setUp();
try {
System.loadLibrary("opencv_java");
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
} catch (SecurityException e) {
System.out.println(e.toString());
System.exit(-1);