summaryrefslogtreecommitdiffstats
path: root/test/MyClassNatives
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-04-04 16:20:13 -0700
committerAndreas Gampe <agampe@google.com>2014-04-04 16:28:13 -0700
commitad61517890168ff6ed19063cc8032a9c033d135b (patch)
tree7bc9f0fa28eaedef854527c85cb15ff3d0afea8f /test/MyClassNatives
parente8b4bbcef44f7fe76896850b2f5750cd46b1ade0 (diff)
downloadart-ad61517890168ff6ed19063cc8032a9c033d135b.tar.gz
art-ad61517890168ff6ed19063cc8032a9c033d135b.tar.bz2
art-ad61517890168ff6ed19063cc8032a9c033d135b.zip
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/MyClassNatives')
-rw-r--r--test/MyClassNatives/MyClassNatives.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java
index 6e7a426930..09f1783780 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();
}