summaryrefslogtreecommitdiffstats
path: root/Tests/JavaNativeHeaders/HelloWorld3.java
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2018-01-19 13:26:46 (GMT)
committerMarc Chevrier <marc.chevrier@sap.com>2018-01-22 16:15:59 (GMT)
commit4829ea239aa2b45170ce841e14d8e1ec076240ee (patch)
tree6cd8b76ef9b8d632199fdededdd9df2cea372c58 /Tests/JavaNativeHeaders/HelloWorld3.java
parentbe2f0509037880a94f487867bee088a231054f4b (diff)
downloadCMake-4829ea239aa2b45170ce841e14d8e1ec076240ee.zip
CMake-4829ea239aa2b45170ce841e14d8e1ec076240ee.tar.gz
CMake-4829ea239aa2b45170ce841e14d8e1ec076240ee.tar.bz2
add_jar: add option GENERATE_NATIVE_HEADERS
Diffstat (limited to 'Tests/JavaNativeHeaders/HelloWorld3.java')
-rw-r--r--Tests/JavaNativeHeaders/HelloWorld3.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/JavaNativeHeaders/HelloWorld3.java b/Tests/JavaNativeHeaders/HelloWorld3.java
new file mode 100644
index 0000000..77f1fed
--- /dev/null
+++ b/Tests/JavaNativeHeaders/HelloWorld3.java
@@ -0,0 +1,15 @@
+class HelloWorld3
+{
+ public static void main(String args[])
+ {
+ D d;
+ d = new D();
+ d.printName();
+
+ E e;
+ e = new E();
+ e.printName();
+
+ System.out.println("Hello World!");
+ }
+}