mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8228336: Refactor native library loading implementation
Reviewed-by: alanb, dholmes
This commit is contained in:
parent
36fac8c332
commit
d5d6dc0caa
16 changed files with 817 additions and 617 deletions
|
@ -2276,11 +2276,6 @@ public final class System {
|
|||
public void setCause(Throwable t, Throwable cause) {
|
||||
t.setCause(cause);
|
||||
}
|
||||
|
||||
public void loadLibrary(Class<?> caller, String library) {
|
||||
assert library.indexOf(java.io.File.separatorChar) < 0;
|
||||
ClassLoader.loadLibrary(caller, library, false);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue