summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2020-07-13 15:53:19 +0100
committerTreeHugger Robot <treehugger-gerrit@google.com>2020-07-14 19:09:55 +0000
commit00b7f98c131985ea5111ce6c2f258d629372628c (patch)
treeb66a96ffb095e899a9af1f1335fcefe8b0559672 /test/ProfileTestMultiDex/Main.java
parent0dde47a27afbbb29c543c0f4f8b1bd3bf5aa4e49 (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 Merged-In: I2f4c20355a937a026f43c60f99eb436df7c173c4 (cherry picked from commit 116b5c75502beb00da42312966a118f834dd0018)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions