Community
Participate
Working Groups
if (path != null) {
if (extract (path + SEPARATOR + fileName1, mappedName1)) return;
if (mapName && extract (path + SEPARATOR + fileName2, mappedName2)) return;
// bug 276564: JDK 7 (OpenJDK) attempt to load jnilib if names were mapped to dylib
if (path != null && mappedName1.endsWith(".dylib")) {
mappedName1 = mappedName1.substring(0,mappedName1.lastIndexOf(".dylib")) + ".jnilib";
}
if (path != null && mappedName2.endsWith(".dylib")) {
mappedName1 = mappedName2.substring(0,mappedName2.lastIndexOf(".dylib")) + ".jnilib";
/* Failed to find the library */