summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-05-12 19:15:18 -0700
committerIan Rogers <irogers@google.com>2014-05-14 12:03:16 -0700
commit2d10b206f9d0b97396b7dadb9a6415cd39efd341 (patch)
tree032625cf6175d1749739bca3c9d673b027ba92c1 /compiler/optimizing/graph_visualizer.cc
parent6fb66a2bc4e1c0b7931101153e58714991237af7 (diff)
Ensure JNI primitive array type is appropriate.
Check the primitive array type for GetPrimitiveArray, ReleasePrimitiveArray, GetPrimitiveArrayRegion and SetPrimitiveArrayRegion matches the given array type. Check the GetPrimitiveArrayCritical and ReleasePrimitiveArrayCritical are given a primitive array. Add unit tests that null parameters lead to fatal errors, not crashes. Fix issues where CheckJNI assumed non-null arguments. Tidy testing code via the use of nullptr. Add a few extra checks. Ensure arrays of void are not able to be created, use RI compatible NoClassDefError. Bug: 14817823 Change-Id: I9903bcd800d0da1988ced07f61fb97b783c5deab
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions