OSDN Git Service

Fix Class.getDex.
authorElliott Hughes <enh@google.com>
Wed, 31 Jul 2013 16:41:16 +0000 (09:41 -0700)
committerElliott Hughes <enh@google.com>
Wed, 31 Jul 2013 16:41:16 +0000 (09:41 -0700)
commit115b55b396cbed481d08ed4603182003c8a71abd
treeaf84657e9a5926083898f36593aabf368f0705f2
parent73a0943392a2927dae96195f5293940877f11c05
Fix Class.getDex.

Dalvik doesn't check its own .so when looking for JNI methods, so
manually register Class.getDex. Also fix a bug in that native method's
implementation.

Change-Id: Ic87484fac888e9eea0e5d51a2d2447eee860ece5
vm/Init.cpp
vm/native/java_lang_Class.cpp