Commit e99d47cc authored by Davis King's avatar Davis King

Removed exit call on load library failure.

parent 44a62b19
......@@ -163,14 +163,7 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/swig.i
}
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary(\"${output_library_name}\");
} catch (UnsatisfiedLinkError e) {
System.err.println(\"Native code library failed to load. \\n\" + e);
System.exit(1);
}
}
static { System.loadLibrary(\"${output_library_name}\"); }
%}
%include \"swig_api.h\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment