mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
@AlanBateman comments
This commit is contained in:
parent
ebaa6614f4
commit
8067306a61
2 changed files with 6 additions and 3 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue