< prev index next >
src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 82,97 ****
}
String s1 = lib.substring(0, k);
String s2 = lib.substring(k + 7);
String libDir;
if ("64".equals(System.getProperty("sun.arch.data.model"))) {
- if ("SunOS".equals(System.getProperty("os.name"))) {
- libDir = "lib/64";
- } else {
// assume Linux convention
libDir = "lib64";
- }
} else {
// must be 32-bit
libDir = "lib";
}
String s = s1 + libDir + s2;
--- 82,93 ----
< prev index next >