diff options
Diffstat (limited to 'test/native/cross-android-armv7-tst1/HelloJava.java')
-rw-r--r-- | test/native/cross-android-armv7-tst1/HelloJava.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/native/cross-android-armv7-tst1/HelloJava.java b/test/native/cross-android-armv7-tst1/HelloJava.java new file mode 100644 index 0000000..3c6a841 --- /dev/null +++ b/test/native/cross-android-armv7-tst1/HelloJava.java @@ -0,0 +1,16 @@ + +public class HelloJava { + public static void main(String args[]) { + System.out.print("HelloJava main("); + for(int i=0; i<args.length; i++) { + if(0<i) { + System.out.print(", "); + } + System.out.print(args[i]); + } + System.out.println(")"); + } + public static void test(int i) { + System.out.println("HelloJava test("+i+")"); + } +} |