mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8240975: Extend NativeLibraries to support explicit unloading
Reviewed-by: alanb, mcimadamore
This commit is contained in:
parent
b66c680885
commit
75a8b7fa83
9 changed files with 493 additions and 92 deletions
|
@ -2374,7 +2374,7 @@ public abstract class ClassLoader {
|
|||
return null;
|
||||
}
|
||||
|
||||
private final NativeLibraries libraries = new NativeLibraries(this);
|
||||
private final NativeLibraries libraries = NativeLibraries.jniNativeLibraries(this);
|
||||
|
||||
// Invoked in the java.lang.Runtime class to implement load and loadLibrary.
|
||||
static NativeLibrary loadLibrary(Class<?> fromClass, File file) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue