OSDN Git Service

Add null check to CheckVirtualMethod
authorMathieu Chartier <mathieuc@google.com>
Wed, 20 Aug 2014 19:09:38 +0000 (12:09 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 20 Aug 2014 19:37:32 +0000 (12:37 -0700)
commit167350d9c781c5e3893714bb26ab5cb1c4abf6b4
treebbc962cd842d343ccc3636931d113a48bfa48eff
parenta846c1ac65b197844380b8d28377a850dfa1fc94
Add null check to CheckVirtualMethod

There was a runtime SIGSEGV that should have been a check jni
failure.

Also added regression test.

Bug: 16320699
Change-Id: If6c8e73959cefb24e4703f1562cdddb343d86630
runtime/check_jni.cc
runtime/jni_internal_test.cc