OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d86334
)
Fix DEX zip open error message printing
author
David Sehr
<sehr@google.com>
Tue, 14 Feb 2017 18:57:47 +0000
(10:57 -0800)
committer
David Sehr
<sehr@google.com>
Tue, 14 Feb 2017 18:57:47 +0000
(10:57 -0800)
We were printing the pointer to the error message string rather than the
string itself.
Bug: none
Test: test-art-host
Change-Id: I06bd9afd100c425039847c52df1f4912966053b8
runtime/dex_file.cc
patch
|
blob
|
history
diff --git
a/runtime/dex_file.cc
b/runtime/dex_file.cc
index
f59420d
..
d93cbbb
100644
(file)
--- a/
runtime/dex_file.cc
+++ b/
runtime/dex_file.cc
@@
-415,7
+415,7
@@
bool DexFile::OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
&error_code));
if (next_dex_file.get() == nullptr) {
if (error_code != ZipOpenErrorCode::kEntryNotFound) {
- LOG(WARNING) << error_msg;
+ LOG(WARNING) <<
"Zip open failed: " << *
error_msg;
}
break;
} else {