also fixing JNI library name in JUnit tests
authorAndrey Pavlenko <andrey.pavlenko@itseez.com>
Tue, 13 Aug 2013 09:18:01 +0000 (13:18 +0400)
committerAndrey Pavlenko <andrey.pavlenko@itseez.com>
Tue, 13 Aug 2013 09:18:01 +0000 (13:18 +0400)
modules/java/test/src/org/opencv/test/OpenCVTestCase.java

index ac1bf86..a9b5041 100644 (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);