summaryrefslogtreecommitdiffstats
path: root/test/MyClassNatives
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-21 15:29:52 -0700
committerElliott Hughes <enh@google.com>2012-05-21 17:24:56 -0700
commit3e778f7ee62fe75912379531022a09230c25f5f8 (patch)
tree21f4d107a64d9e3de938609c0febef2bf75d8d9a /test/MyClassNatives
parent37f7775b92398d87e48bc306f9d10a1b563dcdd5 (diff)
downloadart-3e778f7ee62fe75912379531022a09230c25f5f8.tar.gz
art-3e778f7ee62fe75912379531022a09230c25f5f8.tar.bz2
art-3e778f7ee62fe75912379531022a09230c25f5f8.zip
Fix JNI stubs for synchronized native methods with double/long arguments in low registers.
Change-Id: I3639f7a7a9564630ae01651119fcad237a5e675d
Diffstat (limited to 'test/MyClassNatives')
-rw-r--r--test/MyClassNatives/MyClassNatives.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java
index 9a03999f9b..2121adf909 100644
--- a/test/MyClassNatives/MyClassNatives.java
+++ b/test/MyClassNatives/MyClassNatives.java
@@ -24,6 +24,7 @@ class MyClassNatives {
native long fooJJ(long x, long y);
native Object fooO(Object x);
native double fooDD(double x, double y);
+ synchronized native long fooJJ_synchronized(long x, long y);
native Object fooIOO(int x, Object y, Object z);
static native Object fooSIOO(int x, Object y, Object z);
static native int fooSII(int x, int y);
@@ -38,4 +39,4 @@ class MyClassNatives {
native void instanceMethodThatShouldTakeClass(int i, Class c);
static native void staticMethodThatShouldTakeClass(int i, Class c);
- }
+}