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

@ -2432,7 +2432,7 @@ public abstract class ClassLoader {
/*
* Invoked in the VM class linking code.
*/
private static long findNative(ClassLoader loader, String entryName) {
static long findNative(ClassLoader loader, String entryName) {
if (loader == null) {
return BootLoader.getNativeLibraries().find(entryName);
} else {