commit | 3cb2d7680e822fa9893fc8d83385a3b7bfadeda3 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Apr 17 20:12:29 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Apr 18 10:13:24 2017 -0700 |
tree | 9c9d1cbe2a9ee32bdedba385155f323da95cbcfc | |
parent | 6a0e0b242a1ff47bc9b722a9c130462733b83f05 [diff] |
Use correct type for GetValueFromShadowFrame The field type is not necessarily the input type for boxed primitives. If the field type is < 32 bits, it means there will be partial object pointer in the JValue. If a conversion check is later needed in GetUnboxedTypeAndValue, it will crash. The fix is to use the PTypes. Bug: 37446461 Test: test-art-host (cherry picked from commit 71b1708f1e610143dc657e370f85eebbde4a900e) Change-Id: I4da1e44368488bee8528e6406fc20532048a9569