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.misc.JavaLangAccess JLA;
descriptor: Ljdk/internal/misc/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=5, args_size=0
0: invokestatic jdk.internal.misc.SharedSecrets.getJavaLangAccess:()Ljdk/internal/misc/JavaLangAccess;
putstatic jdk.internal.loader.ClassLoaders.JLA:Ljdk/internal/misc/JavaLangAccess;
1: aconst_null
astore 0
start local 0 2: ldc "jdk.boot.class.path.append"
invokestatic jdk.internal.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.length:()I
ifle 5
4: new jdk.internal.loader.URLClassPath
dup
aload 1
iconst_1
invokespecial jdk.internal.loader.URLClassPath.<init>:(Ljava/lang/String;Z)V
astore 0
5: StackMap locals: jdk.internal.loader.URLClassPath 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 6: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 7: aload 2
ifnonnull 11
8: aload 3
ifnonnull 13
9: ldc ""
astore 3
10: goto 13
11: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ifnull 13
aload 3
invokevirtual java.lang.String.length:()I
ifne 13
12: aconst_null
astore 3
13: StackMap locals:
StackMap stack:
new jdk.internal.loader.URLClassPath
dup
aload 3
iconst_0
invokespecial jdk.internal.loader.URLClassPath.<init>:(Ljava/lang/String;Z)V
astore 4
start local 4 14: new jdk.internal.loader.ClassLoaders$BootClassLoader
dup
aload 0
invokespecial jdk.internal.loader.ClassLoaders$BootClassLoader.<init>:(Ljdk/internal/loader/URLClassPath;)V
putstatic jdk.internal.loader.ClassLoaders.BOOT_LOADER:Ljdk/internal/loader/ClassLoaders$BootClassLoader;
15: 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;
16: new jdk.internal.loader.ClassLoaders$AppClassLoader
dup
getstatic jdk.internal.loader.ClassLoaders.PLATFORM_LOADER:Ljdk/internal/loader/ClassLoaders$PlatformClassLoader;
aload 4
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 4 end local 3 end local 2 end local 1 end local 0 17: return
LocalVariableTable:
Start End Slot Name Signature
2 17 0 bcp Ljdk/internal/loader/URLClassPath;
3 17 1 s Ljava/lang/String;
6 17 2 mainMid Ljava/lang/String;
7 17 3 cp Ljava/lang/String;
14 17 4 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.Paths.get:(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