Error in BigIntegerUtil.canLoadGmp() is not caught properly
wilko77 opened this issue · comments
Wilko Henecka commented
In canLoadGmp()
, the function call GMP.checkLoaded();
throws either a java.lang.UnsatisfiedLinkError
or an AssertionError
. The current try - catch block won't catch either of those, as it is looking for an Exception
.
I suggest we change the catch
clause to catch Error
instead of Exception
.
Wilko Henecka commented
addressed in commit 05596d2