summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-08-13 02:04:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-08-13 02:04:55 +0000
commit8395fee29d9e64b78bd7e64531ccdcff50ddcabb (patch)
tree100ac9b91ae50235e15fdf61fe3e36b62c235114
parent8e33ba576e1d8a0c2cac11c403d4b49dc77fe583 (diff)
parent4d1969799b081fd4a28fc14561627be148f0ba5a (diff)
Merge "libbinder_ndk: dump class ptrs in assoc. failure"
-rw-r--r--libs/binder/ndk/ibinder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/ndk/ibinder.cpp b/libs/binder/ndk/ibinder.cpp
index 2abb6f7992..11e9fc5d7b 100644
--- a/libs/binder/ndk/ibinder.cpp
+++ b/libs/binder/ndk/ibinder.cpp
@@ -82,8 +82,8 @@ std::optional<bool> AIBinder::associateClassInternal(const AIBinder_Class* clazz
const String16& currentDescriptor = mClazz->getInterfaceDescriptor();
if (newDescriptor == currentDescriptor) {
LOG(ERROR) << __func__ << ": Class descriptors '" << currentDescriptor
- << "' match during associateClass, but they are different class objects. "
- "Class descriptor collision?";
+ << "' match during associateClass, but they are different class objects ("
+ << clazz << " vs " << mClazz << "). Class descriptor collision?";
} else {
LOG(ERROR) << __func__
<< ": Class cannot be associated on object which already has a class. "