commit | 1cefdbdff559aff5a3ee5c0878ba3b505109e0f9 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Feb 29 09:34:50 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Feb 29 09:34:50 2012 -0800 |
tree | 0548a337545e10df6a7ac4b15c88efda353308ce | |
parent | 0d6de041f3777f6d403c831e8db32040804bcdf5 [diff] [blame] |
Test invocation of static methods through JNI stub Additional unit test to avoid regressions like Change I707f8e64. Change-Id: Ic343bf5273ca06b646f0235c88d6edbe3d20d448
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java index d8df19b..55ec0bd 100644 --- a/test/MyClassNatives/MyClassNatives.java +++ b/test/MyClassNatives/MyClassNatives.java
@@ -18,6 +18,7 @@ native void throwException(); native void foo(); native int bar(int count); + static native int sbar(int count); native int fooI(int x); native int fooII(int x, int y); native long fooJJ(long x, long y);