diff options
Diffstat (limited to 'test/files/jvm')
-rwxr-xr-x | test/files/jvm/libnatives-32.so (renamed from test/files/jvm/libnatives.so) | bin | 5359 -> 5359 bytes | |||
-rwxr-xr-x | test/files/jvm/libnatives-64.so | bin | 0 -> 7466 bytes | |||
-rw-r--r-- | test/files/jvm/natives.scala | 3 |
3 files changed, 2 insertions, 1 deletions
diff --git a/test/files/jvm/libnatives.so b/test/files/jvm/libnatives-32.so Binary files differindex ccbcdd646f..ccbcdd646f 100755 --- a/test/files/jvm/libnatives.so +++ b/test/files/jvm/libnatives-32.so diff --git a/test/files/jvm/libnatives-64.so b/test/files/jvm/libnatives-64.so Binary files differnew file mode 100755 index 0000000000..8cc6152057 --- /dev/null +++ b/test/files/jvm/libnatives-64.so diff --git a/test/files/jvm/natives.scala b/test/files/jvm/natives.scala index d3cb24a9d9..4cea731cd3 100644 --- a/test/files/jvm/natives.scala +++ b/test/files/jvm/natives.scala @@ -1,6 +1,7 @@ object Test { //println("java.library.path=" + System.getProperty("java.library.path")) - System.loadLibrary("natives") + val model = System.getProperty("sun.arch.data.model", "32") + System.loadLibrary("natives-" + model) @native def sayHello(s: String): String = null |