[platform] prefer bundled JNA dispatcher lib

This commit is contained in:
Roman Shevchenko
2016-01-22 20:33:02 +03:00
parent 5f710416b3
commit 3d7d30beac
@@ -329,10 +329,8 @@ public class StartupUtil {
if (System.getProperty("jna.tmpdir") == null) {
System.setProperty("jna.tmpdir", ideTempDir.getPath());
}
if (System.getProperty("jna.nosys") == null && System.getProperty("jna.nounpack") == null) {
// force using bundled JNA dispatcher (if not explicitly stated)
System.setProperty("jna.nosys", "true");
System.setProperty("jna.nounpack", "false");
if (System.getProperty("jna.nosys") == null) {
System.setProperty("jna.nosys", "true"); // prefer bundled JNA dispatcher lib
}
try {
long t = System.currentTimeMillis();