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=6, locals=3, 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: ldc "jdk.boot.class.path.append"
invokestatic jdk.internal.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: new jdk.internal.loader.ClassLoaders$BootClassLoader
dup
aload 0
ifnull 4
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
3: new jdk.internal.loader.URLClassPath
dup
aload 0
iconst_1
invokespecial jdk.internal.loader.URLClassPath.<init>:(Ljava/lang/String;Z)V
goto 5
4: StackMap locals: java.lang.String
StackMap stack: new 2 new 2
aconst_null
5: StackMap locals: java.lang.String
StackMap stack: new 2 new 2 jdk.internal.loader.URLClassPath
invokespecial jdk.internal.loader.ClassLoaders$BootClassLoader.<init>:(Ljdk/internal/loader/URLClassPath;)V
6: putstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
7: 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;
8: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 9: aload 1
ifnull 10
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 14
10: 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 11: aload 2
ifnonnull 12
ldc ""
goto 13
StackMap locals: java.lang.String
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: java.lang.String
13: astore 1
end local 2 14: 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 15: 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/ClassLoaders$PlatformClassLoader;Ljdk/internal/loader/URLClassPath;)V
putstatic jdk.internal.loader.ClassLoaders.APP_LOADER:Ljdk/internal/loader/ClassLoaders$AppClassLoader;
end local 2 end local 1 end local 0 16: return
LocalVariableTable:
Start End Slot Name Signature
2 16 0 append Ljava/lang/String;
9 16 1 cp Ljava/lang/String;
11 14 2 initialModuleName Ljava/lang/String;
15 16 2 ucp Ljdk/internal/loader/URLClassPath;
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