OSDN Git Service

ART: Fix generic_ptr handling in GetMethodName
authorAndreas Gampe <agampe@google.com>
Fri, 18 Nov 2016 21:31:13 +0000 (13:31 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 18 Nov 2016 23:01:48 +0000 (15:01 -0800)
commit862bdd8ac9bc0071493acaf3574610cbc7792bbf
tree7b8d469b9c60e1187e630340ed936db58d7f917d
parent3bf14d69ab1823ae3e3ff372ac04a404044c3682
ART: Fix generic_ptr handling in GetMethodName

Do not write null into a null pointer.

Bug: 31684812
Test: m test-art-host-run-test-910-methods
Change-Id: I79a255c1403ca9621390c9cdc09d2381c26fffb6
runtime/openjdkjvmti/ti_method.cc
test/910-methods/methods.cc