< prev index next >
src/java.base/share/classes/jdk/internal/loader/BootLoader.java
Print this page
8200125: Fix some classloader/module typos
Reviewed-by: alanb
*** 98,109 ****
public static boolean hasClassPath() {
return ClassLoaders.bootLoader().hasClassPath();
}
/**
! * Register a module with this class loader so that its classes (and
! * resources) become visible via this class loader.
*/
public static void loadModule(ModuleReference mref) {
ClassLoaders.bootLoader().loadModule(mref);
}
--- 98,109 ----
public static boolean hasClassPath() {
return ClassLoaders.bootLoader().hasClassPath();
}
/**
! * Registers a module with this class loader so that its classes
! * (and resources) become visible via this class loader.
*/
public static void loadModule(ModuleReference mref) {
ClassLoaders.bootLoader().loadModule(mref);
}
< prev index next >