From 3896125479a72c5b43af07ad68e83dbf67c1ef38 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 30 Apr 2014 09:01:50 +0000 Subject: Add pcsc jni lib for MacOS/Java 8 git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1311 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/org/openecard/scio/osx/PlatformPCSC.java | 2 ++ .../gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib | Bin 0 -> 14964 bytes 2 files changed, 2 insertions(+) create mode 100644 smcc/src/main/resources/at/gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib diff --git a/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java b/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java index bbc48bc0..e7b048f0 100644 --- a/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java +++ b/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java @@ -115,6 +115,8 @@ public class PlatformPCSC { return "jre6." + PCSC_JNI_LIBRARY_NAME; } else if (javaVersion.startsWith("1.7")) { return "jre7." + PCSC_JNI_LIBRARY_NAME; + } else if (javaVersion.startsWith("1.8")) { + return "jre8." + PCSC_JNI_LIBRARY_NAME; } return null; diff --git a/smcc/src/main/resources/at/gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib b/smcc/src/main/resources/at/gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib new file mode 100644 index 00000000..3a465a69 Binary files /dev/null and b/smcc/src/main/resources/at/gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib differ -- cgit v1.2.3