diff options
author | Elliott Hughes <enh@google.com> | 2012-05-21 15:29:52 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-05-21 17:24:56 -0700 |
commit | 3e778f7ee62fe75912379531022a09230c25f5f8 (patch) | |
tree | 21f4d107a64d9e3de938609c0febef2bf75d8d9a /test | |
parent | 37f7775b92398d87e48bc306f9d10a1b563dcdd5 (diff) | |
download | art-3e778f7ee62fe75912379531022a09230c25f5f8.zip art-3e778f7ee62fe75912379531022a09230c25f5f8.tar.gz art-3e778f7ee62fe75912379531022a09230c25f5f8.tar.bz2 |
Fix JNI stubs for synchronized native methods with double/long arguments in low registers.
Change-Id: I3639f7a7a9564630ae01651119fcad237a5e675d
Diffstat (limited to 'test')
-rw-r--r-- | test/MyClassNatives/MyClassNatives.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java index 9a03999..2121adf 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); - } +} |