public class jdk.internal.loader.BuiltinClassLoader extends java.security.SecureClassLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.loader.BuiltinClassLoader
super_class: java.security.SecureClassLoader
{
private final jdk.internal.loader.BuiltinClassLoader parent;
descriptor: Ljdk/internal/loader/BuiltinClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.loader.URLClassPath ucp;
descriptor: Ljdk/internal/loader/URLClassPath;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.Map<java.lang.String, jdk.internal.loader.BuiltinClassLoader$LoadedModule> packageToModule;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;>;
private final java.util.Map<java.lang.String, java.lang.module.ModuleReference> nameToModule;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
private final java.util.Map<java.lang.module.ModuleReference, java.lang.module.ModuleReader> moduleToReader;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/module/ModuleReference;Ljava/lang/module/ModuleReader;>;
private volatile java.lang.ref.SoftReference<java.util.Map<java.lang.String, java.util.List<java.net.URL>>> resourceCache;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/lang/ref/SoftReference<Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/net/URL;>;>;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Ljdk/internal/loader/BuiltinClassLoader;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.loader.BuiltinClassLoader.$assertionsDisabled:Z
3: invokestatic java.lang.ClassLoader.registerAsParallelCapable:()Z
ifne 5
4: new java.lang.InternalError
dup
ldc "Unable to register as parallel capable"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.util.concurrent.ConcurrentHashMap
dup
sipush 1024
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
6: putstatic jdk.internal.loader.BuiltinClassLoader.packageToModule:Ljava/util/Map;
7: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, jdk.internal.loader.BuiltinClassLoader, jdk.internal.loader.URLClassPath);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader;Ljdk/internal/loader/URLClassPath;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
ifnull 1
aload 2
invokestatic jdk.internal.loader.ClassLoaders.bootLoader:()Ljdk/internal/loader/BuiltinClassLoader;
if_acmpne 2
StackMap locals: uninitialized-this java.lang.String jdk.internal.loader.BuiltinClassLoader jdk.internal.loader.URLClassPath
StackMap stack: uninitialized-this java.lang.String
1: aconst_null
goto 3
StackMap locals: uninitialized-this java.lang.String jdk.internal.loader.BuiltinClassLoader jdk.internal.loader.URLClassPath
StackMap stack: uninitialized-this java.lang.String
2: aload 2
StackMap locals: uninitialized-this java.lang.String jdk.internal.loader.BuiltinClassLoader jdk.internal.loader.URLClassPath
StackMap stack: uninitialized-this java.lang.String jdk.internal.loader.BuiltinClassLoader
3: invokespecial java.security.SecureClassLoader.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
4: aload 0
aload 2
putfield jdk.internal.loader.BuiltinClassLoader.parent:Ljdk/internal/loader/BuiltinClassLoader;
5: aload 0
aload 3
putfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
6: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.BuiltinClassLoader.nameToModule:Ljava/util/Map;
7: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.BuiltinClassLoader.moduleToReader:Ljava/util/Map;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 9 1 name Ljava/lang/String;
0 9 2 parent Ljdk/internal/loader/BuiltinClassLoader;
0 9 3 ucp Ljdk/internal/loader/URLClassPath;
MethodParameters:
Name Flags
name
parent
ucp
boolean hasClassPath();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/loader/BuiltinClassLoader;
public void loadModule(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.nameToModule:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 3
2: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " already defined to this loader"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
new jdk.internal.loader.BuiltinClassLoader$LoadedModule
dup
aload 0
aload 1
invokespecial jdk.internal.loader.BuiltinClassLoader$LoadedModule.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/module/ModuleReference;)V
astore 3
start local 3 4: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.module.ModuleReference java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: getstatic jdk.internal.loader.BuiltinClassLoader.packageToModule:Ljava/util/Map;
aload 4
aload 3
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.BuiltinClassLoader$LoadedModule
astore 6
start local 6 7: aload 6
ifnull 11
8: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " in modules "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 6
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 6 end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifeq 14
aload 0
getfield jdk.internal.loader.BuiltinClassLoader.resourceCache:Ljava/lang/ref/SoftReference;
ifnull 14
13: aload 0
aconst_null
putfield jdk.internal.loader.BuiltinClassLoader.resourceCache:Ljava/lang/ref/SoftReference;
14: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.module.ModuleReference java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 15 1 mref Ljava/lang/module/ModuleReference;
1 15 2 mn Ljava/lang/String;
4 15 3 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
6 11 4 pn Ljava/lang/String;
7 11 6 other Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
MethodParameters:
Name Flags
mref
protected java.lang.module.ModuleReference findModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/module/ModuleReference;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.net.URL findResource(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
ifnull 6
2: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 4
start local 4 3: aload 4
ifnull 7
4: aload 0
aload 4
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResource:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Ljava/net/URL;
astore 3
end local 4 5: goto 7
6: StackMap locals: java.net.URL
StackMap stack:
aload 0
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResourceOnClassPath:(Ljava/lang/String;)Ljava/net/URL;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.internal.loader.BuiltinClassLoader.checkURL:(Ljava/net/URL;)Ljava/net/URL;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 8 1 mn Ljava/lang/String;
0 8 2 name Ljava/lang/String;
1 8 3 url Ljava/net/URL;
3 5 4 mref Ljava/lang/module/ModuleReference;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mn
name
public java.io.InputStream findResourceAsStream(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 1
aload 1
ifnonnull 5
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 2: aload 3
ifnull 3
aload 3
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
goto 4
StackMap locals: java.net.URL
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.io.InputStream
4: areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.BuiltinClassLoader.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 0
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.moduleReaderFor:(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
aload 2
invokeinterface java.lang.module.ModuleReader.open:(Ljava/lang/String;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.InputStream
areturn
8: StackMap locals: java.lang.module.ModuleReference
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 9 1 mn Ljava/lang/String;
0 9 2 name Ljava/lang/String;
2 5 3 url Ljava/net/URL;
6 9 3 mref Ljava/lang/module/ModuleReference;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mn
name
public java.net.URL findResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.internal.module.Resources.toPackageName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: getstatic jdk.internal.loader.BuiltinClassLoader.packageToModule:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.BuiltinClassLoader$LoadedModule
astore 3
start local 3 2: aload 3
ifnull 13
3: aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:()Ljdk/internal/loader/BuiltinClassLoader;
aload 0
if_acmpne 21
4: aload 0
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 5: goto 8
end local 4 StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule
StackMap stack: java.io.IOException
6: pop
7: aconst_null
areturn
start local 4 8: StackMap locals: java.net.URL
StackMap stack:
aload 4
ifnull 21
9: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 12
10: aload 4
invokevirtual java.net.URL.toString:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 12
11: aload 0
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.isOpen:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Z
ifeq 21
12: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findMiscResource:(Ljava/lang/String;)Ljava/util/List;
astore 4
start local 4 14: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 21
15: aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.URL
astore 5
start local 5 16: aload 5
ifnull 21
17: aload 5
invokestatic jdk.internal.loader.BuiltinClassLoader.checkURL:(Ljava/net/URL;)Ljava/net/URL;
18: areturn
end local 5 end local 4 19: StackMap locals:
StackMap stack: java.io.IOException
pop
20: aconst_null
areturn
21: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResourceOnClassPath:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 22: aload 4
invokestatic jdk.internal.loader.BuiltinClassLoader.checkURL:(Ljava/net/URL;)Ljava/net/URL;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 23 1 name Ljava/lang/String;
1 23 2 pn Ljava/lang/String;
2 23 3 module Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
5 6 4 url Ljava/net/URL;
8 13 4 url Ljava/net/URL;
14 19 4 urls Ljava/util/List<Ljava/net/URL;>;
16 19 5 url Ljava/net/URL;
22 23 4 url Ljava/net/URL;
Exception table:
from to target type
4 5 6 Class java.io.IOException
13 18 19 Class java.io.IOException
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.net.URL> findResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokestatic jdk.internal.module.Resources.toPackageName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: getstatic jdk.internal.loader.BuiltinClassLoader.packageToModule:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.BuiltinClassLoader$LoadedModule
astore 4
start local 4 3: aload 4
ifnull 12
4: aload 4
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:()Ljdk/internal/loader/BuiltinClassLoader;
aload 0
if_acmpne 18
5: aload 0
aload 4
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 5
start local 5 6: aload 5
ifnull 18
7: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 10
8: aload 5
invokevirtual java.net.URL.toString:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 10
9: aload 0
aload 4
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.isOpen:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Z
ifeq 18
10: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.util.List java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule java.net.URL
StackMap stack:
aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 11: goto 18
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findMiscResource:(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.util.List java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule top java.util.Iterator
StackMap stack:
13: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URL
astore 5
start local 5 14: aload 5
invokestatic jdk.internal.loader.BuiltinClassLoader.checkURL:(Ljava/net/URL;)Ljava/net/URL;
astore 5
15: aload 5
ifnull 17
16: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
18: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.util.List java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResourcesOnClassPath:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 5
start local 5 19: new jdk.internal.loader.BuiltinClassLoader$1
dup
aload 0
aload 2
aload 5
invokespecial jdk.internal.loader.BuiltinClassLoader$1.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/util/List;Ljava/util/Enumeration;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 20 1 name Ljava/lang/String;
1 20 2 checked Ljava/util/List<Ljava/net/URL;>;
2 20 3 pn Ljava/lang/String;
3 20 4 module Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
6 11 5 url Ljava/net/URL;
14 17 5 url Ljava/net/URL;
19 20 5 e Ljava/util/Enumeration<Ljava/net/URL;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
private java.util.List<java.net.URL> findMiscResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.resourceCache:Ljava/lang/ref/SoftReference;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.util.Map
goto 3
StackMap locals: java.lang.ref.SoftReference
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.util.Map
3: astore 3
start local 3 4: aload 3
ifnonnull 8
5: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 3
6: aload 0
new java.lang.ref.SoftReference
dup
aload 3
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield jdk.internal.loader.BuiltinClassLoader.resourceCache:Ljava/lang/ref/SoftReference;
7: goto 11
8: StackMap locals: java.util.Map
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 9: aload 4
ifnull 11
10: aload 4
areturn
end local 4 11: StackMap locals:
StackMap stack:
new jdk.internal.loader.BuiltinClassLoader$2
dup
aload 0
aload 1
invokespecial jdk.internal.loader.BuiltinClassLoader$2.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/String;)V
12: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 13: goto 16
end local 4 StackMap locals:
StackMap stack: java.security.PrivilegedActionException
14: astore 5
start local 5 15: aload 5
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 5 start local 4 16: StackMap locals: java.util.List
StackMap stack:
invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifeq 18
17: aload 3
aload 1
aload 4
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 19 1 name Ljava/lang/String;
1 19 2 ref Ljava/lang/ref/SoftReference<Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/net/URL;>;>;>;
4 19 3 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/net/URL;>;>;
9 11 4 urls Ljava/util/List<Ljava/net/URL;>;
13 14 4 urls Ljava/util/List<Ljava/net/URL;>;
16 19 4 urls Ljava/util/List<Ljava/net/URL;>;
15 16 5 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
11 13 14 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
private java.net.URL findResource(java.lang.module.ModuleReference, java.lang.String);
descriptor: (Ljava/lang/module/ModuleReference;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 3
1: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.moduleReaderFor:(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
aload 2
invokeinterface java.lang.module.ModuleReader.find:(Ljava/lang/String;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URI
astore 3
start local 3 2: goto 7
end local 3 3: StackMap locals:
StackMap stack:
new jdk.internal.loader.BuiltinClassLoader$3
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.loader.BuiltinClassLoader$3.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/module/ModuleReference;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.URI
astore 3
start local 3 4: goto 7
end local 3 StackMap locals:
StackMap stack: java.security.PrivilegedActionException
5: astore 4
start local 4 6: aload 4
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 4 start local 3 7: StackMap locals: java.net.URI
StackMap stack:
aload 3
ifnull 11
8: aload 3
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
9: areturn
10: StackMap locals:
StackMap stack: java.lang.Exception
pop
11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 12 1 mref Ljava/lang/module/ModuleReference;
0 12 2 name Ljava/lang/String;
2 3 3 u Ljava/net/URI;
4 5 3 u Ljava/net/URI;
7 12 3 u Ljava/net/URI;
6 7 4 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
3 4 5 Class java.security.PrivilegedActionException
8 9 10 Class java.net.MalformedURLException
8 9 10 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mref
name
private java.net.URL findResourceOrNull(java.lang.module.ModuleReference, java.lang.String);
descriptor: (Ljava/lang/module/ModuleReference;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResource:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Ljava/net/URL;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 4 1 mref Ljava/lang/module/ModuleReference;
0 4 2 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
mref
name
private java.net.URL findResourceOnClassPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.loader.BuiltinClassLoader.hasClassPath:()Z
ifeq 5
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 3
2: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
aload 1
iconst_0
invokevirtual jdk.internal.loader.URLClassPath.findResource:(Ljava/lang/String;Z)Ljava/net/URL;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic run(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/loader/BuiltinClassLoader.lambda$0(Ljava/lang/String;)Ljava/net/URL; (7)
()Ljava/net/URL;
astore 2
start local 2 4: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.URL
areturn
end local 2 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 6 1 name Ljava/lang/String;
4 5 2 pa Ljava/security/PrivilegedAction<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
private java.util.Enumeration<java.net.URL> findResourcesOnClassPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.loader.BuiltinClassLoader.hasClassPath:()Z
ifeq 5
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 3
2: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
aload 1
iconst_0
invokevirtual jdk.internal.loader.URLClassPath.findResources:(Ljava/lang/String;Z)Ljava/util/Enumeration;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic run(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/loader/BuiltinClassLoader.lambda$1(Ljava/lang/String;)Ljava/util/Enumeration; (7)
()Ljava/util/Enumeration;
astore 2
start local 2 4: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.Enumeration
areturn
end local 2 5: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyEnumeration:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 6 1 name Ljava/lang/String;
4 5 2 pa Ljava/security/PrivilegedAction<Ljava/util/Enumeration<Ljava/net/URL;>;>;
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifne 2
1: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
ifnull 8
5: aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:()Ljdk/internal/loader/BuiltinClassLoader;
aload 0
if_acmpne 10
6: aload 0
aload 2
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull:(Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
astore 3
7: goto 10
8: StackMap locals: jdk.internal.loader.BuiltinClassLoader$LoadedModule java.lang.Class
StackMap stack:
aload 0
invokevirtual jdk.internal.loader.BuiltinClassLoader.hasClassPath:()Z
ifeq 10
9: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
11: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 13 1 cn Ljava/lang/String;
3 13 2 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
4 13 3 c Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
protected java.lang.Class<?> findClass(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 6
1: aload 0
aload 1
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findLoadedModule:(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: jdk.internal.loader.BuiltinClassLoader$LoadedModule
StackMap stack:
getstatic jdk.internal.loader.BuiltinClassLoader.$assertionsDisabled:Z
ifne 5
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:()Ljdk/internal/loader/BuiltinClassLoader;
aload 0
if_acmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull:(Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.loader.BuiltinClassLoader.hasClassPath:()Z
ifeq 8
7: aload 0
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull:(Ljava/lang/String;)Ljava/lang/Class;
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 9 1 mn Ljava/lang/String;
0 9 2 cn Ljava/lang/String;
2 6 3 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
mn
cn
protected java.lang.Class<?> loadClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.loadClassOrNull:(Ljava/lang/String;Z)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 4 1 cn Ljava/lang/String;
0 4 2 resolve Z
1 4 3 c Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
resolve
protected java.lang.Class<?> loadClassOrNull(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.getClassLoadingLock:(Ljava/lang/String;)Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 2: aload 4
ifnonnull 16
3: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
astore 5
start local 5 4: aload 5
ifnull 12
5: aload 5
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:()Ljdk/internal/loader/BuiltinClassLoader;
astore 6
start local 6 6: aload 6
aload 0
if_acmpne 10
7: invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifeq 16
8: aload 0
aload 5
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull:(Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
astore 4
9: goto 16
10: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String int java.lang.Object java.lang.Class jdk.internal.loader.BuiltinClassLoader$LoadedModule jdk.internal.loader.BuiltinClassLoader
StackMap stack:
aload 6
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.loadClassOrNull:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
end local 6 11: goto 16
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.BuiltinClassLoader.parent:Ljdk/internal/loader/BuiltinClassLoader;
ifnull 14
13: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.parent:Ljdk/internal/loader/BuiltinClassLoader;
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.loadClassOrNull:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
14: StackMap locals:
StackMap stack:
aload 4
ifnonnull 16
aload 0
invokevirtual jdk.internal.loader.BuiltinClassLoader.hasClassPath:()Z
ifeq 16
invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifeq 16
15: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
end local 5 16: StackMap locals:
StackMap stack:
iload 2
ifeq 18
aload 4
ifnull 18
17: aload 0
aload 4
invokevirtual jdk.internal.loader.BuiltinClassLoader.resolveClass:(Ljava/lang/Class;)V
18: StackMap locals:
StackMap stack:
aload 4
aload 3
monitorexit
19: areturn
end local 4 20: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String int java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
21: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 22 1 cn Ljava/lang/String;
0 22 2 resolve Z
2 20 4 c Ljava/lang/Class<*>;
4 16 5 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
6 11 6 loader Ljdk/internal/loader/BuiltinClassLoader;
Exception table:
from to target type
1 19 20 any
20 21 20 any
Signature: (Ljava/lang/String;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
resolve
protected java.lang.Class<?> loadClassOrNull(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual jdk.internal.loader.BuiltinClassLoader.loadClassOrNull:(Ljava/lang/String;Z)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 1 1 cn Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
private jdk.internal.loader.BuiltinClassLoader$LoadedModule findLoadedModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 1: iload 2
ifge 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: getstatic jdk.internal.loader.BuiltinClassLoader.packageToModule:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.BuiltinClassLoader$LoadedModule
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 5 1 cn Ljava/lang/String;
1 5 2 pos I
4 5 3 pn Ljava/lang/String;
MethodParameters:
Name Flags
cn
private jdk.internal.loader.BuiltinClassLoader$LoadedModule findLoadedModule(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
astore 3
start local 3 1: aload 3
ifnull 3
aload 1
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 3
areturn
3: StackMap locals: jdk.internal.loader.BuiltinClassLoader$LoadedModule
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 4 1 mn Ljava/lang/String;
0 4 2 cn Ljava/lang/String;
1 4 3 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
MethodParameters:
Name Flags
mn
cn
private java.lang.Class<?> findClassInModuleOrNull(jdk.internal.loader.BuiltinClassLoader$LoadedModule, java.lang.String);
descriptor: (Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 2
1: aload 0
aload 2
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokedynamic run(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/loader/BuiltinClassLoader.lambda$2(Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class; (7)
()Ljava/lang/Class;
astore 3
start local 3 3: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 4 1 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
0 4 2 cn Ljava/lang/String;
3 4 3 pa Ljava/security/PrivilegedAction<Ljava/lang/Class<*>;>;
Signature: (Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
loadedModule
cn
private java.lang.Class<?> findClassOnClassPathOrNull(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 8
2: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
aload 2
iconst_0
invokevirtual jdk.internal.loader.URLClassPath.getResource:(Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 0
aload 1
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;Ljdk/internal/loader/Resource;)Ljava/lang/Class;
5: areturn
6: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.lang.String jdk.internal.loader.Resource
StackMap stack: java.io.IOException
pop
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 8: StackMap locals:
StackMap stack:
new jdk.internal.loader.BuiltinClassLoader$4
dup
aload 0
aload 2
aload 1
invokespecial jdk.internal.loader.BuiltinClassLoader$4.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 9: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 10 1 cn Ljava/lang/String;
1 10 2 path Ljava/lang/String;
3 8 3 res Ljdk/internal/loader/Resource;
9 10 3 pa Ljava/security/PrivilegedAction<Ljava/lang/Class<*>;>;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
private java.lang.Class<?> defineClass(java.lang.String, jdk.internal.loader.BuiltinClassLoader$LoadedModule);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.moduleReaderFor:(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 5: aload 4
instanceof jdk.internal.module.ModulePatcher$PatchedModuleReader
ifeq 11
6: aload 4
checkcast jdk.internal.module.ModulePatcher$PatchedModuleReader
aload 7
invokevirtual jdk.internal.module.ModulePatcher$PatchedModuleReader.findResource:(Ljava/lang/String;)Ljdk/internal/loader/Resource;
astore 8
start local 8 7: aload 8
ifnull 13
8: aload 8
invokevirtual jdk.internal.loader.Resource.getByteBuffer:()Ljava/nio/ByteBuffer;
astore 5
9: aload 8
invokevirtual jdk.internal.loader.Resource.getCodeSourceURL:()Ljava/net/URL;
astore 6
end local 8 10: goto 13
11: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule java.lang.module.ModuleReference java.lang.module.ModuleReader java.nio.ByteBuffer java.net.URL java.lang.String
StackMap stack:
aload 4
aload 7
invokeinterface java.lang.module.ModuleReader.read:(Ljava/lang/String;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 5
12: aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.codeSourceURL:()Ljava/net/URL;
astore 6
13: StackMap locals:
StackMap stack:
aload 5
ifnonnull 15
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
new java.security.CodeSource
dup
aload 6
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
astore 8
start local 8 16: aload 0
aload 1
aload 5
aload 8
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;Ljava/nio/ByteBuffer;Ljava/security/CodeSource;)Ljava/lang/Class;
astore 10
17: aload 4
aload 5
invokeinterface java.lang.module.ModuleReader.release:(Ljava/nio/ByteBuffer;)V
18: aload 10
areturn
19: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule java.lang.module.ModuleReference java.lang.module.ModuleReader java.nio.ByteBuffer java.net.URL java.lang.String java.security.CodeSource
StackMap stack: java.lang.Throwable
astore 9
20: aload 4
aload 5
invokeinterface java.lang.module.ModuleReader.release:(Ljava/nio/ByteBuffer;)V
21: aload 9
athrow
end local 8 end local 7 end local 6 end local 5 22: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String jdk.internal.loader.BuiltinClassLoader$LoadedModule java.lang.module.ModuleReference java.lang.module.ModuleReader
StackMap stack: java.io.IOException
pop
23: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 24 1 cn Ljava/lang/String;
0 24 2 loadedModule Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
1 24 3 mref Ljava/lang/module/ModuleReference;
2 24 4 reader Ljava/lang/module/ModuleReader;
3 22 5 bb Ljava/nio/ByteBuffer;
4 22 6 csURL Ljava/net/URL;
5 22 7 rn Ljava/lang/String;
7 10 8 r Ljdk/internal/loader/Resource;
16 22 8 cs Ljava/security/CodeSource;
Exception table:
from to target type
16 17 19 any
2 14 22 Class java.io.IOException
15 18 22 Class java.io.IOException
19 22 22 Class java.io.IOException
Signature: (Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
loadedModule
private java.lang.Class<?> defineClass(java.lang.String, jdk.internal.loader.Resource);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/Resource;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual jdk.internal.loader.Resource.getCodeSourceURL:()Ljava/net/URL;
astore 3
start local 3 1: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpeq 6
3: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 4: aload 2
invokevirtual jdk.internal.loader.Resource.getManifest:()Ljava/util/jar/Manifest;
astore 6
start local 6 5: aload 0
aload 5
aload 6
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineOrCheckPackage:(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
pop
end local 6 end local 5 6: StackMap locals: java.net.URL int
StackMap stack:
aload 2
invokevirtual jdk.internal.loader.Resource.getByteBuffer:()Ljava/nio/ByteBuffer;
astore 5
start local 5 7: aload 5
ifnull 11
8: aload 2
invokevirtual jdk.internal.loader.Resource.getCodeSigners:()[Ljava/security/CodeSigner;
astore 6
start local 6 9: new java.security.CodeSource
dup
aload 3
aload 6
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
astore 7
start local 7 10: aload 0
aload 1
aload 5
aload 7
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;Ljava/nio/ByteBuffer;Ljava/security/CodeSource;)Ljava/lang/Class;
areturn
end local 7 end local 6 11: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 2
invokevirtual jdk.internal.loader.Resource.getBytes:()[B
astore 6
start local 6 12: aload 2
invokevirtual jdk.internal.loader.Resource.getCodeSigners:()[Ljava/security/CodeSigner;
astore 7
start local 7 13: new java.security.CodeSource
dup
aload 3
aload 7
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
astore 8
start local 8 14: aload 0
aload 1
aload 6
iconst_0
aload 6
arraylength
aload 8
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 15 1 cn Ljava/lang/String;
0 15 2 res Ljdk/internal/loader/Resource;
1 15 3 url Ljava/net/URL;
2 15 4 pos I
4 6 5 pn Ljava/lang/String;
5 6 6 man Ljava/util/jar/Manifest;
7 15 5 bb Ljava/nio/ByteBuffer;
9 11 6 signers [Ljava/security/CodeSigner;
10 11 7 cs Ljava/security/CodeSource;
12 15 6 b [B
13 15 7 signers [Ljava/security/CodeSigner;
14 15 8 cs Ljava/security/CodeSource;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljdk/internal/loader/Resource;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
res
protected java.lang.Package defineOrCheckPackage(java.lang.String, java.util.jar.Manifest, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.getAndVerifyPackage:(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
astore 4
start local 4 1: aload 4
ifnonnull 11
2: aload 2
ifnull 5
3: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.definePackage:(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
astore 4
4: goto 11
5: StackMap locals: java.lang.Package
StackMap stack:
aload 0
aload 1
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
invokevirtual jdk.internal.loader.BuiltinClassLoader.definePackage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)Ljava/lang/Package;
astore 4
6: goto 11
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
7: pop
8: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.internal.loader.BuiltinClassLoader.getAndVerifyPackage:(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
astore 4
9: aload 4
ifnonnull 11
10: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find package: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 12 1 pn Ljava/lang/String;
0 12 2 man Ljava/util/jar/Manifest;
0 12 3 url Ljava/net/URL;
1 12 4 pkg Ljava/lang/Package;
Exception table:
from to target type
2 6 7 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
pn
man
url
private java.lang.Package getAndVerifyPackage(java.lang.String, java.util.jar.Manifest, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.getDefinedPackage:(Ljava/lang/String;)Ljava/lang/Package;
astore 4
start local 4 1: aload 4
ifnull 13
2: aload 4
invokevirtual java.lang.Package.isSealed:()Z
ifeq 7
3: aload 4
aload 3
invokevirtual java.lang.Package.isSealed:(Ljava/net/URL;)Z
ifne 13
4: new java.lang.SecurityException
dup
5: new java.lang.StringBuilder
dup
ldc "sealing violation: package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is sealed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Package
StackMap stack:
aload 2
ifnull 13
aload 0
aload 1
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.isSealed:(Ljava/lang/String;Ljava/util/jar/Manifest;)Z
ifeq 13
8: new java.lang.SecurityException
dup
9: new java.lang.StringBuilder
dup
ldc "sealing violation: can't seal package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc ": already defined"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 14 1 pn Ljava/lang/String;
0 14 2 man Ljava/util/jar/Manifest;
0 14 3 url Ljava/net/URL;
1 14 4 pkg Ljava/lang/Package;
MethodParameters:
Name Flags
pn
man
url
private java.lang.Package definePackage(java.lang.String, java.util.jar.Manifest, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aconst_null
astore 7
start local 7 4: aconst_null
astore 8
start local 8 5: aconst_null
astore 9
start local 9 6: aconst_null
astore 10
start local 10 7: aconst_null
astore 11
start local 11 8: aload 2
ifnull 38
9: invokestatic jdk.internal.misc.SharedSecrets.javaUtilJarAccess:()Ljdk/internal/misc/JavaUtilJarAccess;
10: aload 2
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface jdk.internal.misc.JavaUtilJarAccess.getTrustedAttributes:(Ljava/util/jar/Manifest;Ljava/lang/String;)Ljava/util/jar/Attributes;
11: astore 12
start local 12 12: aload 12
ifnull 20
13: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_TITLE:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 4
14: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 5
15: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_VENDOR:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 6
16: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_TITLE:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 7
17: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 8
18: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_VENDOR:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 9
19: aload 12
getstatic java.util.jar.Attributes$Name.SEALED:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 10
20: StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.String java.util.jar.Manifest java.net.URL java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.net.URL java.util.jar.Attributes
StackMap stack:
aload 2
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 12
21: aload 12
ifnull 36
22: aload 4
ifnonnull 24
23: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_TITLE:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 4
24: StackMap locals:
StackMap stack:
aload 5
ifnonnull 26
25: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 5
26: StackMap locals:
StackMap stack:
aload 6
ifnonnull 28
27: aload 12
getstatic java.util.jar.Attributes$Name.SPECIFICATION_VENDOR:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 6
28: StackMap locals:
StackMap stack:
aload 7
ifnonnull 30
29: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_TITLE:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 7
30: StackMap locals:
StackMap stack:
aload 8
ifnonnull 32
31: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 8
32: StackMap locals:
StackMap stack:
aload 9
ifnonnull 34
33: aload 12
getstatic java.util.jar.Attributes$Name.IMPLEMENTATION_VENDOR:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 9
34: StackMap locals:
StackMap stack:
aload 10
ifnonnull 36
35: aload 12
getstatic java.util.jar.Attributes$Name.SEALED:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 10
36: StackMap locals:
StackMap stack:
ldc "true"
aload 10
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 38
37: aload 3
astore 11
end local 12 38: StackMap locals:
StackMap stack:
aload 0
aload 1
39: aload 4
40: aload 5
41: aload 6
42: aload 7
43: aload 8
44: aload 9
45: aload 11
46: invokevirtual jdk.internal.loader.BuiltinClassLoader.definePackage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/URL;)Ljava/lang/Package;
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 47 1 pn Ljava/lang/String;
0 47 2 man Ljava/util/jar/Manifest;
0 47 3 url Ljava/net/URL;
1 47 4 specTitle Ljava/lang/String;
2 47 5 specVersion Ljava/lang/String;
3 47 6 specVendor Ljava/lang/String;
4 47 7 implTitle Ljava/lang/String;
5 47 8 implVersion Ljava/lang/String;
6 47 9 implVendor Ljava/lang/String;
7 47 10 sealed Ljava/lang/String;
8 47 11 sealBase Ljava/net/URL;
12 38 12 attr Ljava/util/jar/Attributes;
MethodParameters:
Name Flags
pn
man
url
private boolean isSealed(java.lang.String, java.util.jar.Manifest);
descriptor: (Ljava/lang/String;Ljava/util/jar/Manifest;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.misc.SharedSecrets.javaUtilJarAccess:()Ljdk/internal/misc/JavaUtilJarAccess;
1: aload 2
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface jdk.internal.misc.JavaUtilJarAccess.getTrustedAttributes:(Ljava/util/jar/Manifest;Ljava/lang/String;)Ljava/util/jar/Attributes;
2: astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 3
ifnull 6
5: aload 3
getstatic java.util.jar.Attributes$Name.SEALED:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 4
6: StackMap locals: java.util.jar.Attributes java.lang.String
StackMap stack:
aload 4
ifnonnull 8
aload 2
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
dup
astore 3
ifnull 8
7: aload 3
getstatic java.util.jar.Attributes$Name.SEALED:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 4
8: StackMap locals:
StackMap stack:
ldc "true"
aload 4
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 9 1 pn Ljava/lang/String;
0 9 2 man Ljava/util/jar/Manifest;
3 9 3 attr Ljava/util/jar/Attributes;
4 9 4 sealed Ljava/lang/String;
MethodParameters:
Name Flags
pn
man
protected java.security.PermissionCollection getPermissions(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.security.util.LazyCodeSourcePermissionCollection
dup
aload 0
aload 1
invokespecial java.security.SecureClassLoader.getPermissions:(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
aload 1
invokespecial sun.security.util.LazyCodeSourcePermissionCollection.<init>:(Ljava/security/PermissionCollection;Ljava/security/CodeSource;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 1 1 cs Ljava/security/CodeSource;
MethodParameters:
Name Flags
cs
private java.lang.module.ModuleReader moduleReaderFor(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.moduleToReader:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReader
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new jdk.internal.loader.BuiltinClassLoader$5
dup
aload 0
aload 1
invokespecial jdk.internal.loader.BuiltinClassLoader$5.<init>:(Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/module/ModuleReference;)V
astore 3
start local 3 3: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.moduleToReader:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReader
astore 2
end local 3 4: StackMap locals: java.lang.module.ModuleReader
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 5 1 mref Ljava/lang/module/ModuleReference;
1 5 2 reader Ljava/lang/module/ModuleReader;
3 4 3 create Ljava/util/function/Function<Ljava/lang/module/ModuleReference;Ljava/lang/module/ModuleReader;>;
MethodParameters:
Name Flags
mref
private boolean isOpen(java.lang.module.ModuleReference, java.lang.String);
descriptor: (Ljava/lang/module/ModuleReference;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 2
aload 3
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 3
2: StackMap locals: java.lang.module.ModuleDescriptor
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.internal.loader.BuiltinClassLoader java.lang.module.ModuleReference java.lang.String java.lang.module.ModuleDescriptor top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Opens
astore 4
start local 4 5: aload 4
invokevirtual java.lang.module.ModuleDescriptor$Opens.source:()Ljava/lang/String;
astore 6
start local 6 6: aload 4
invokevirtual java.lang.module.ModuleDescriptor$Opens.isQualified:()Z
ifne 8
aload 6
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/loader/BuiltinClassLoader;
0 10 1 mref Ljava/lang/module/ModuleReference;
0 10 2 pn Ljava/lang/String;
1 10 3 descriptor Ljava/lang/module/ModuleDescriptor;
5 8 4 opens Ljava/lang/module/ModuleDescriptor$Opens;
6 8 6 source Ljava/lang/String;
MethodParameters:
Name Flags
mref
pn
private static java.net.URL checkURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.internal.loader.URLClassPath.checkURL:(Ljava/net/URL;)Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
MethodParameters:
Name Flags
url
private java.net.URL lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
aload 1
iconst_0
invokevirtual jdk.internal.loader.URLClassPath.findResource:(Ljava/lang/String;Z)Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
private java.util.Enumeration lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader.ucp:Ljdk/internal/loader/URLClassPath;
aload 1
iconst_0
invokevirtual jdk.internal.loader.URLClassPath.findResources:(Ljava/lang/String;Z)Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
private java.lang.Class lambda$2(java.lang.String, jdk.internal.loader.BuiltinClassLoader$LoadedModule);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
aload 2
invokevirtual jdk.internal.loader.BuiltinClassLoader.defineClass:(Ljava/lang/String;Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;)Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader;
}
SourceFile: "BuiltinClassLoader.java"
NestMembers:
jdk.internal.loader.BuiltinClassLoader$1 jdk.internal.loader.BuiltinClassLoader$2 jdk.internal.loader.BuiltinClassLoader$3 jdk.internal.loader.BuiltinClassLoader$4 jdk.internal.loader.BuiltinClassLoader$5 jdk.internal.loader.BuiltinClassLoader$LoadedModule jdk.internal.loader.BuiltinClassLoader$NullModuleReader
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
jdk.internal.loader.BuiltinClassLoader$1
jdk.internal.loader.BuiltinClassLoader$2
jdk.internal.loader.BuiltinClassLoader$3
jdk.internal.loader.BuiltinClassLoader$4
jdk.internal.loader.BuiltinClassLoader$5
private LoadedModule = jdk.internal.loader.BuiltinClassLoader$LoadedModule of jdk.internal.loader.BuiltinClassLoader
private NullModuleReader = jdk.internal.loader.BuiltinClassLoader$NullModuleReader of jdk.internal.loader.BuiltinClassLoader
public PatchedModuleReader = jdk.internal.module.ModulePatcher$PatchedModuleReader of jdk.internal.module.ModulePatcher