commit | 48ffe0653c51c0785c8bd260fef486922ba00e4e | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Aug 19 15:23:23 2015 -0700 |
committer | Alex Light <allight@google.com> | Thu Aug 20 17:24:33 2015 +0000 |
tree | f8e7e171c9ee91fabc8c491147668f8c097e15e4 | |
parent | edd0a6dbe26bb334f02d5abe649e3da9165277b2 [diff] |
Made CheckJNI check varargs when possible Several JNI functions such as NewObject and Call*Method take a variable number of arguments. This patch will make CheckJNI do (limited) dynamic validation of these arguments. Currently it is limited to checking that objects are valid and that no value types have illegal values. Bug: 20344596 Change-Id: I1f81d2bdd80215e0007fc636bac27d5bcc2dba96