@AlanBateman comments

This commit is contained in:
iklam 2021-05-12 10:15:53 -07:00
parent ebaa6614f4
commit 8067306a61
2 changed files with 6 additions and 3 deletions

View file

@ -55,6 +55,8 @@ import jdk.internal.util.StaticProperty;
public class BootLoader {
private BootLoader() { }
private static final JavaLangAccess JLA = SharedSecrets.getJavaLangAccess();
// The unnamed module for the boot loader
private static final Module UNNAMED_MODULE;
private static final String JAVA_HOME = StaticProperty.javaHome();
@ -72,8 +74,6 @@ public class BootLoader {
private static final NativeLibraries NATIVE_LIBS
= NativeLibraries.jniNativeLibraries(null);
private static final JavaLangAccess JLA = SharedSecrets.getJavaLangAccess();
/**
* Returns the unnamed module for the boot loader.
*/

View file

@ -55,7 +55,10 @@ public class ClassLoaders {
private static final PlatformClassLoader PLATFORM_LOADER;
private static final AppClassLoader APP_LOADER;
private static void setArchivedServicesCatalog(ArchivedClassLoaders archivedClassLoaders, ClassLoader loader) {
// Sets the ServicesCatalog for the specified loader using archived objects.
private static void setArchivedServicesCatalog(
ArchivedClassLoaders archivedClassLoaders, ClassLoader loader)
{
ServicesCatalog catalog = archivedClassLoaders.servicesCatalog(loader);
ServicesCatalog.putServicesCatalog(loader, catalog);
}