diff options
author | Andreas Gampe <agampe@google.com> | 2014-04-04 16:20:13 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-04-04 16:28:13 -0700 |
commit | ad61517890168ff6ed19063cc8032a9c033d135b (patch) | |
tree | 7bc9f0fa28eaedef854527c85cb15ff3d0afea8f /test | |
parent | e8b4bbcef44f7fe76896850b2f5750cd46b1ade0 (diff) | |
download | art-ad61517890168ff6ed19063cc8032a9c033d135b.zip art-ad61517890168ff6ed19063cc8032a9c033d135b.tar.gz art-ad61517890168ff6ed19063cc8032a9c033d135b.tar.bz2 |
Fix wrong handling of Generic JNI not finding native method.
Code did not properly call JNIMethodEnd, such that locks etc
where not correctly handled.
Add a test case to jni_compiler_test.
Change-Id: If2d5c628517d65a56dd6bb5c4cabdff77c7664a1
Diffstat (limited to 'test')
-rw-r--r-- | test/MyClassNatives/MyClassNatives.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java index 6e7a426..09f1783 100644 --- a/test/MyClassNatives/MyClassNatives.java +++ b/test/MyClassNatives/MyClassNatives.java @@ -79,4 +79,5 @@ class MyClassNatives { Object o240, Object o241, Object o242, Object o243, Object o244, Object o245, Object o246, Object o247, Object o248, Object o249, Object o250, Object o251, Object o252, Object o253); + native void withoutImplementation(); } |