diff options
author | Ian Rogers <irogers@google.com> | 2011-09-04 14:06:05 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2011-09-04 15:08:39 -0700 |
commit | 9b269d281d16798b0c24027c32ec6507f71b2787 (patch) | |
tree | 52f493786b74f81fc6e660d64dea2631824251b6 /test/MyClassNatives | |
parent | 1da522de18ac6e4c2913c3233529e9dd115059f8 (diff) | |
download | art-9b269d281d16798b0c24027c32ec6507f71b2787.tar.gz art-9b269d281d16798b0c24027c32ec6507f71b2787.tar.bz2 art-9b269d281d16798b0c24027c32ec6507f71b2787.zip |
Fix bug in long arguments for JNI on x86
Also add new unit test.
Change-Id: I226501dbfec6e207318d8063b5daf53b7b606ee4
Diffstat (limited to 'test/MyClassNatives')
-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 f8b81d478d..e296684489 100644 --- a/test/MyClassNatives/MyClassNatives.java +++ b/test/MyClassNatives/MyClassNatives.java @@ -5,7 +5,8 @@ class MyClass { native void foo(); native int fooI(int x); native int fooII(int x, int y); - native Object fooL(Object x); + native long fooJJ(long x, long y); + native Object fooO(Object x); native double fooDD(double x, double y); native Object fooIOO(int x, Object y, Object z); static native Object fooSIOO(int x, Object y, Object z); |