terl / lazysodium-java

A Java implementation of the Libsodium crypto library. For the lazy dev.
https://github.com/terl/lazysodium-java/wiki
Mozilla Public License 2.0
135 stars 48 forks source link

Fix "prefer system" library loading mode #58

Closed MakarovS closed 5 years ago

MakarovS commented 5 years ago

Resource loader throws UnsatisfiedLinkError if it is unable to load the library, which is not caught by catch (Exception e) { ... }. This PR fixes that.