public class jdk.internal.loader.ClassLoaders
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.loader.ClassLoaders
super_class: java.lang.Object
{
private static final jdk.internal.access.JavaLangAccess JLA;
descriptor: Ljdk/internal/access/JavaLangAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.loader.ClassLoaders$BootClassLoader BOOT_LOADER;
descriptor: Ljdk/internal/loader/ClassLoaders$BootClassLoader;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.loader.ClassLoaders$PlatformClassLoader PLATFORM_LOADER;
descriptor: Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.loader.ClassLoaders$AppClassLoader APP_LOADER;
descriptor: Ljdk/internal/loader/ClassLoaders$AppClassLoader;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
putstatic jdk.internal.loader.ClassLoaders.JLA:Ljdk/internal/access/JavaLangAccess;
1: invokestatic jdk.internal.loader.ArchivedClassLoaders.get:()Ljdk/internal/loader/ArchivedClassLoaders;
astore 0
start local 0 2: aload 0
ifnull 8
3: aload 0
invokevirtual jdk.internal.loader.ArchivedClassLoaders.bootLoader:()Ljava/lang/ClassLoader;
checkcast jdk.internal.loader.ClassLoaders$BootClassLoader
putstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
4: aload 0
invokevirtual jdk.internal.loader.ArchivedClassLoaders.platformLoader:()Ljava/lang/ClassLoader;
checkcast jdk.internal.loader.ClassLoaders$PlatformClassLoader
putstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
5: aload 0
getstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
invokevirtual jdk.internal.loader.ArchivedClassLoaders.servicesCatalog:(Ljava/lang/ClassLoader;)Ljdk/internal/module/ServicesCatalog;
astore 1
start local 1 6: getstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
aload 1
invokestatic jdk.internal.module.ServicesCatalog.putServicesCatalog:(Ljava/lang/ClassLoader;Ljdk/internal/module/ServicesCatalog;)V
end local 1 7: goto 15
8: StackMap locals: jdk.internal.loader.ArchivedClassLoaders
StackMap stack:
ldc "jdk.boot.class.path.append"
invokestatic jdk.internal.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 9: aload 1
ifnull 11
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 11
10: new jdk.internal.loader.URLClassPath
dup
aload 1
iconst_1
invokespecial jdk.internal.loader.URLClassPath.<init>:(Ljava/lang/String;Z)V
goto 12
11: StackMap locals: java.lang.String
StackMap stack:
aconst_null
12: StackMap locals:
StackMap stack: jdk.internal.loader.URLClassPath
astore 2
start local 2 13: new jdk.internal.loader.ClassLoaders$BootClassLoader
dup
aload 2
invokespecial jdk.internal.loader.ClassLoaders$BootClassLoader.<init>:(Ljdk/internal/loader/URLClassPath;)V
putstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
14: new jdk.internal.loader.ClassLoaders$PlatformClassLoader
dup
getstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
invokespecial jdk.internal.loader.ClassLoaders$PlatformClassLoader.<init>:(Ljdk/internal/loader/ClassLoaders$BootClassLoader;)V
putstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
end local 2 end local 1 15: StackMap locals:
StackMap stack:
ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 16: aload 1
ifnull 17
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 21
17: StackMap locals: java.lang.String
StackMap stack:
ldc "jdk.module.main"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 18: aload 2
ifnonnull 19
ldc ""
goto 20
StackMap locals: java.lang.String
StackMap stack:
19: aconst_null
StackMap locals:
StackMap stack: java.lang.String
20: astore 1
end local 2 21: StackMap locals:
StackMap stack:
new jdk.internal.loader.URLClassPath
dup
aload 1
iconst_0
invokespecial jdk.internal.loader.URLClassPath.<init>:(Ljava/lang/String;Z)V
astore 2
start local 2 22: aload 0
ifnull 28
23: aload 0
invokevirtual jdk.internal.loader.ArchivedClassLoaders.appLoader:()Ljava/lang/ClassLoader;
checkcast jdk.internal.loader.ClassLoaders$AppClassLoader
putstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
24: aload 0
getstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
invokevirtual jdk.internal.loader.ArchivedClassLoaders.servicesCatalog:(Ljava/lang/ClassLoader;)Ljdk/internal/module/ServicesCatalog;
astore 3
start local 3 25: getstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
aload 3
invokestatic jdk.internal.module.ServicesCatalog.putServicesCatalog:(Ljava/lang/ClassLoader;Ljdk/internal/module/ServicesCatalog;)V
26: getstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
aload 2
invokevirtual jdk.internal.loader.ClassLoaders$AppClassLoader.setClassPath:(Ljdk/internal/loader/URLClassPath;)V
end local 3 27: goto 30
28: StackMap locals: jdk.internal.loader.URLClassPath
StackMap stack:
new jdk.internal.loader.ClassLoaders$AppClassLoader
dup
getstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
aload 2
invokespecial jdk.internal.loader.ClassLoaders$AppClassLoader.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljdk/internal/loader/URLClassPath;)V
putstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
29: invokestatic jdk.internal.loader.ArchivedClassLoaders.archive:()V
end local 2 end local 1 end local 0 30: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 30 0 archivedClassLoaders Ljdk/internal/loader/ArchivedClassLoaders;
6 7 1 catalog Ljdk/internal/module/ServicesCatalog;
9 15 1 append Ljava/lang/String;
13 15 2 ucp Ljdk/internal/loader/URLClassPath;
16 30 1 cp Ljava/lang/String;
18 21 2 initialModuleName Ljava/lang/String;
22 30 2 ucp Ljdk/internal/loader/URLClassPath;
25 27 3 catalog Ljdk/internal/module/ServicesCatalog;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/ClassLoaders;
static jdk.internal.loader.BuiltinClassLoader bootLoader();
descriptor: ()Ljdk/internal/loader/BuiltinClassLoader;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.ClassLoader platformClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.ClassLoader appClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.net.URL toFileURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.nio.file.InvalidPathException
0 1 2 Class java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
s
}
SourceFile: "ClassLoaders.java"
NestMembers:
jdk.internal.loader.ClassLoaders$AppClassLoader jdk.internal.loader.ClassLoaders$BootClassLoader jdk.internal.loader.ClassLoaders$PlatformClassLoader
InnerClasses:
private AppClassLoader = jdk.internal.loader.ClassLoaders$AppClassLoader of jdk.internal.loader.ClassLoaders
private BootClassLoader = jdk.internal.loader.ClassLoaders$BootClassLoader of jdk.internal.loader.ClassLoaders
private PlatformClassLoader = jdk.internal.loader.ClassLoaders$PlatformClassLoader of jdk.internal.loader.ClassLoaders