8268129: LibraryLookup::ofDefault leaks symbols from loaded libraries

Reviewed-by: jvernee, psandoz
This commit is contained in:
Maurizio Cimadamore 2021-06-04 12:53:17 +00:00
parent 40c9e258b5
commit 59a539fef1
47 changed files with 730 additions and 725 deletions

View file

@ -2393,6 +2393,11 @@ public final class System {
public Object classData(Class<?> c) {
return c.getClassData();
}
@Override
public long findNative(ClassLoader loader, String entry) {
return ClassLoader.findNative(loader, entry);
}
});
}
}