File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -773,14 +773,14 @@ public class ZmqNativeLoader {
773
773
774
774
public static void loadLibrary(String libname) {
775
775
if (!loadedLibraries.contains(libname)) {
776
- if (System.getProperty("java.vm.vendor").contains("Android")) {
777
- System.loadLibrary(libname);
778
- } else {
779
- try {
776
+ try {
777
+ if ( System.getProperty("java.vm.vendor").contains("Android")) {
778
+ System.loadLibrary(libname);
779
+ } else {
780
780
NativeLoader.loadLibrary(libname);
781
- } catch (Exception e) {
782
- System.err.println("[WARN] " + e.getMessage() +" from jar. Assuming it is installed on the system.");
783
781
}
782
+ } catch (Exception e) {
783
+ System.err.println("[WARN] " + e.getMessage() +" from jar. Assuming it is installed on the system.");
784
784
}
785
785
loadedLibraries.add(libname);
786
786
}
You can’t perform that action at this time.
0 commit comments