diff --git a/src/java.base/share/classes/java/lang/ClassLoader.java b/src/java.base/share/classes/java/lang/ClassLoader.java index 439e0e002c83e..ef671659c2465 100644 --- a/src/java.base/share/classes/java/lang/ClassLoader.java +++ b/src/java.base/share/classes/java/lang/ClassLoader.java @@ -2454,7 +2454,7 @@ static long findNative(ClassLoader loader, Class clazz, String entryName, Str } /* - * This is also called by SymbolLookup::library lookup. In that case, we need + * This is also called by SymbolLookup::libraryLookup. In that case, we need * to avoid a restricted check, as that check has already been performed when * obtaining the lookup. */