From 667ab7c174ebdb16fc18487901c6857709adcdb8 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 16 Oct 2014 19:12:28 -0700 Subject: [PATCH] Some additional verbose logging for DexFile_defineClassNative Change-Id: I6a86352e9eecf4cc5b529feb784e6cd5e8ec0a45 --- runtime/native/dalvik_system_DexFile.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index 65a79198a..11e9efcfb 100644 --- a/runtime/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc @@ -192,12 +192,13 @@ static jclass DexFile_defineClassNative(JNIEnv* env, jclass, jstring javaName, j mirror::Class* result = class_linker->DefineClass(soa.Self(), descriptor.c_str(), class_loader, *dex_file, *dex_class_def); if (result != nullptr) { - VLOG(class_linker) << "DexFile_defineClassNative returning " << result; + VLOG(class_linker) << "DexFile_defineClassNative returning " << result + << " for " << class_name.c_str(); return soa.AddLocalReference(result); } } } - VLOG(class_linker) << "Failed to find dex_class_def"; + VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str(); return nullptr; } -- 2.11.0