diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2016-01-19 08:52:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-19 15:36:11 (GMT) |
commit | 18c3714f4f4cf35f2b040d887850cb3607345e5d (patch) | |
tree | 93d857c6d02f2b19a8bd4e7b8b4ee72a03ce8cd5 /Tests/JavaJavah/C.java | |
parent | 249aac71d0b0022031d16963f3b46f9860919104 (diff) | |
download | CMake-18c3714f4f4cf35f2b040d887850cb3607345e5d.zip CMake-18c3714f4f4cf35f2b040d887850cb3607345e5d.tar.gz CMake-18c3714f4f4cf35f2b040d887850cb3607345e5d.tar.bz2 |
UseJava: Fix create_javah CLASSPATH handling on Windows
Preserve semicolons in the value.
Diffstat (limited to 'Tests/JavaJavah/C.java')
-rw-r--r-- | Tests/JavaJavah/C.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/JavaJavah/C.java b/Tests/JavaJavah/C.java new file mode 100644 index 0000000..54b1be2 --- /dev/null +++ b/Tests/JavaJavah/C.java @@ -0,0 +1,19 @@ +class C +{ + public C() + { + } + + public native void printName(); + + static { + try { + + System.loadLibrary("B"); + + } catch (UnsatisfiedLinkError e) { + System.err.println("Native code library failed to load.\n" + e); + System.exit(1); + } + } +} |