OSDN Git Service

Don't say UTF-8 in Dalvik's CheckJNI when we mean Modified UTF-8.
authorElliott Hughes <enh@google.com>
Fri, 7 Oct 2011 22:42:23 +0000 (15:42 -0700)
committerElliott Hughes <enh@google.com>
Fri, 7 Oct 2011 22:42:23 +0000 (15:42 -0700)
Change-Id: I4130e7f92275275a6d6f782e1ad979fbf9197a8e

vm/CheckJni.cpp

index 5f68c84..237b88a 100644 (file)
@@ -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();