Skip to content

Commit fe5fd11

Browse files
vkolotovpetreeftime
authored andcommitted
Removing System.exit as it causes to exit application containers (like OSGi and Spring). The library could be "side loaded", e.g. via temp folder etc.
Signed-off-by: Vlad Kolotov <vkolotov@gmail.com>
1 parent daa37a0 commit fe5fd11

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

java/BluetoothObject.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public abstract class BluetoothObject implements Cloneable,AutoCloseable
3636
System.loadLibrary("javatinyb");
3737
} catch (UnsatisfiedLinkError e) {
3838
System.err.println("Native code library failed to load.\n" + e);
39-
System.exit(-1);
4039
}
4140
}
4241

0 commit comments

Comments
 (0)