summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInit.java
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2020-04-01 17:36:26 +0100
committerOrion Hodson <oth@google.com>2020-04-06 14:32:09 +0100
commitd0638fad2d5bb0d044bb4f4e19224cda298ddf21 (patch)
treef04d4d6dd8f9a2cb21458f9a56eb496c07152dbc /test/008-exceptions/src/MultiDexBadInit.java
parent9be9d32da3ce2722529a314cb3112027851628fc (diff)
Additional checks in GetDirectBuffer{Address,Capacity}
Add 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. The JNI spec comments for parameters seem at odds since they say the buffer must not be null, (but not MUST not be null :-). Bug: 122025675 Test: art/tools/buildbot-build.sh --host && jni_internal_test Change-Id: Ie74ad2160a7b265e12fe490aa96fccda52379949 Merged-In: Ie74ad2160a7b265e12fe490aa96fccda52379949 (cherry picked from commit bda163d9c8313f0b92046abda5ffb1216af1e808)
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions