OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eacf6c
)
Don't say UTF-8 in Dalvik's CheckJNI when we mean Modified UTF-8.
author
Elliott Hughes
<enh@google.com>
Fri, 7 Oct 2011 22:42:23 +0000
(15:42 -0700)
committer
Elliott Hughes
<enh@google.com>
Fri, 7 Oct 2011 22:42:23 +0000
(15:42 -0700)
Change-Id: I4130e7f92275275a6d6f782e1ad979fbf9197a8e
vm/CheckJni.cpp
patch
|
blob
|
history
diff --git
a/vm/CheckJni.cpp
b/vm/CheckJni.cpp
index
5f68c84
..
237b88a
100644
(file)
--- a/
vm/CheckJni.cpp
+++ b/
vm/CheckJni.cpp
@@
-923,7
+923,7
@@
private:
const char* errorKind = NULL;
u1 utf8 = checkUtfBytes(bytes, &errorKind);
if (errorKind != NULL) {
- LOGW("JNI WARNING: input is not valid UTF-8: illegal %s byte %#x", errorKind, utf8);
+ LOGW("JNI WARNING: input is not valid
Modified
UTF-8: illegal %s byte %#x", errorKind, utf8);
LOGW(" string: '%s'", bytes);
showLocation();
abortMaybe();