< prev index next >
src/java.base/share/classes/java/nicl/Libraries.java
Print this page
*** 122,132 ****
}
if (!(new File(filename).isAbsolute())) {
throw new UnsatisfiedLinkError(
"Expecting an absolute path of the library: " + filename);
}
! return LibrariesHelper.loadLibrary(checkLookup(lookup), filename);
}
public static Library getDefaultLibrary() {
SecurityManager security = System.getSecurityManager();
if (security != null) {
--- 122,132 ----
}
if (!(new File(filename).isAbsolute())) {
throw new UnsatisfiedLinkError(
"Expecting an absolute path of the library: " + filename);
}
! return LibrariesHelper.load(checkLookup(lookup), filename);
}
public static Library getDefaultLibrary() {
SecurityManager security = System.getSecurityManager();
if (security != null) {
< prev index next >