Index: webrtc/modules/utility/source/jvm_android.cc |
diff --git a/webrtc/modules/utility/source/jvm_android.cc b/webrtc/modules/utility/source/jvm_android.cc |
index e5e32116f7b9530a8f3db0234b9f67ae93ea0bc6..777b8d5fe71a4ea09850b48ad6c9255bb59b8cee 100644 |
--- a/webrtc/modules/utility/source/jvm_android.cc |
+++ b/webrtc/modules/utility/source/jvm_android.cc |
@@ -58,7 +58,7 @@ void FreeClassReferences(JNIEnv* jni) { |
jclass LookUpClass(const char* name) { |
for (auto& c : loaded_classes) { |
- if (c.name == name) |
+ if (strcmp(c.name, name) == 0) |
return c.clazz; |
} |
CHECK(false) << "Unable to find class in lookup table"; |