summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-01-02 17:36:41 -0800
committer Ian Rogers <irogers@google.com> 2014-01-03 10:51:59 -0800
commit1d99e4549309d05007d041d058b1878de88e9585 (patch)
tree3c5508e7f4084b124532aabaa39fdea10eb1788c /compiler/driver/compiler_driver.h
parent5de028bf066052afd15c6733a4e6edfe91ad222c (diff)
Disallow JNI NewObjectArray of primitive types.
Also, make jni_internal_test execute via the interpreter rather than compile methods. Add tests for passing negative array sizes to JNI routines new functions. Re-enable the tests NewStringNullCharsNonzeroLength and NewDirectBuffer_GetDirectBufferAddress_GetDirectBufferCapacity. Test and explicitly fail if the initial value argument to NewObjectArray isn't assignable to that type of array. Use unchecked ObjectArray::Set with NewObjectArray with an initial value. Change-Id: If3491cb5f974b42cf70c1b850819265f9963ee48
Diffstat (limited to 'compiler/driver/compiler_driver.h')
0 files changed, 0 insertions, 0 deletions