Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

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 <[email protected]>
1 parent daa37a0 commit fe5fd11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)