diff options
author | Orion Hodson <oth@google.com> | 2020-07-13 15:53:19 +0100 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2020-07-14 15:27:48 +0000 |
commit | 116b5c75502beb00da42312966a118f834dd0018 (patch) | |
tree | 4bfa8d911ee2acba8e8582a774316bbae221ff3f /test/MultiDexModifiedSecondary | |
parent | 88aa7460df81151f14e9e94c33cad870a0d45850 (diff) |
Additional checks for GetDirectBuffer{Address,Capacity}
Syncs logic with AOSP by adding checks that the buffer argument is
non-null and is a j.n.Buffer instance.
This matches the behaviour described in the JNI spec for both methods
based on RETURNS section commentary.
Bug: 122025675
Test: art/test/run-test --host 2036-jni-filechannel
Test: art_runtime_tests
Change-Id: I2f4c20355a937a026f43c60f99eb436df7c173c4
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions