1
--- openjdk/jdk/src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java~ 2011-11-14 23:12:15.000000000 +0100
2
+++ openjdk/jdk/src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java 2012-04-10 12:26:44.633272023 +0200
5
private final static String PROP_NAME = "sun.security.smartcardio.library";
7
+ private final static String LIB0 = "libpcsclite.so.1";
8
private final static String LIB1 = "/usr/$LIBISA/libpcsclite.so";
9
private final static String LIB2 = "/usr/local/$LIBISA/libpcsclite.so";
12
if (lib.length() != 0) {
16
- if (new File(lib).isFile()) {
17
- // if LIB1 exists, use that
21
- if (new File(lib).isFile()) {
22
- // if LIB2 exists, use that
25
- throw new IOException("No PC/SC library found on this system");
26
+ // let dlopen do the work
31
private static native void initialize(String libraryName);