FBASSERT -> FBJNI_ASSERT, ALOGE -> FBJNI_LOGE, ALOGF -> FBJNI_LOGF

Reviewed By: BurntBrunch

Differential Revision: D5609686

fbshipit-source-id: 3ac863abe8555e768df1625e414f09b35d49853d
This commit is contained in:
Marc Horowitz 2017-08-16 17:31:29 -07:00 committed by Facebook Github Bot
parent 9e71b6065f
commit 1cc7ae2ae1

View File

@ -28,7 +28,7 @@ jni::local_ref<CxxModuleWrapper::javaobject> CxxModuleWrapper::makeDsoNative(
// The handle will remain valid until java closes it. There's no
// way to do this on Android, but that's no reason to be sloppy
// here.
auto guard = folly::makeGuard([&] { FBASSERT(dlclose(handle) == 0); });
auto guard = folly::makeGuard([&] { CHECK(dlclose(handle) == 0); });
void* sym = dlsym(handle, fname.c_str());
if (!sym) {