commit | 7a4efaf168d7d0cc8e8dba04160406563bee8e79 | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Fri Dec 11 18:15:41 2015 -0800 |
committer | Dimitry Ivanov <dimitry@google.com> | Fri Dec 11 18:15:41 2015 -0800 |
tree | 91feefa90065c658a311c1648f0f5908a57724eb | |
parent | ec7e0114dae010a7a05cd08ac5c31adca8c5b37e [diff] |
Temporary disable linker-namespaces Bug: http://b/26164393 Change-Id: If6277407a6a5a4da9e3ad01dc45f57a7fc9954e4
diff --git a/libnativeloader/native_loader.cpp b/libnativeloader/native_loader.cpp index cef2d75..17b7742 100644 --- a/libnativeloader/native_loader.cpp +++ b/libnativeloader/native_loader.cpp
@@ -132,7 +132,7 @@ jobject class_loader, jstring java_library_path, jstring java_permitted_path) { #if defined(__ANDROID__) - if (target_sdk_version == 0 || class_loader == nullptr) { + if (target_sdk_version <= INT_MAX || class_loader == nullptr) { return dlopen(path, RTLD_NOW); }