OSDN Git Service

Improve JNI registration failure logging
authorMathieu Chartier <mathieuc@google.com>
Mon, 4 May 2015 17:18:24 +0000 (10:18 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 4 May 2015 18:17:53 +0000 (11:17 -0700)
commita6ce5b2d5ade23087ab15f26d4c487570ad84b5e
tree09372d08ae90bc85f87bc61eee43993f3fbf7e4c
parent46578a4a3bf235fde35ed80c6e6cbe8fb5f06b48
Improve JNI registration failure logging

Print INTERNAL_FATAL instead of ERROR, print the
"Failed to register native method" message last.

(cherry picked from commit 5c02d6cd0cc7e10d30d8c26166ebaaf6d313d771)

Bug: 13885477
Change-Id: I9f1a7ea45bd926f3984b8008d84c75e676a1ed10
runtime/jni_internal.cc