From 4902db1c42a5ee268e661a9049eec306bae76b93 Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Tue, 13 Aug 2013 13:18:01 +0400 Subject: [PATCH] also fixing JNI library name in JUnit tests --- modules/java/test/src/org/opencv/test/OpenCVTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/java/test/src/org/opencv/test/OpenCVTestCase.java b/modules/java/test/src/org/opencv/test/OpenCVTestCase.java index ac1bf86..a9b5041 100644 --- a/modules/java/test/src/org/opencv/test/OpenCVTestCase.java +++ b/modules/java/test/src/org/opencv/test/OpenCVTestCase.java @@ -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); -- 2.7.4