public final class jdk.internal.loader.Loader extends java.security.SecureClassLoader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.loader.Loader
super_class: java.security.SecureClassLoader
{
private final jdk.internal.loader.LoaderPool pool;
descriptor: Ljdk/internal/loader/LoaderPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader parent;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.String, jdk.internal.loader.Loader$LoadedModule> localPackageToModule;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;>;
private final java.util.Map<java.lang.String, java.lang.ClassLoader> remotePackageToLoader;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/ClassLoader;>;
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 final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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=1, locals=0, args_size=0
0: ldc Ljdk/internal/loader/Loader;
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.Loader.$assertionsDisabled:Z
3: invokestatic java.lang.ClassLoader.registerAsParallelCapable:()Z
pop
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.module.ResolvedModule, jdk.internal.loader.LoaderPool, java.lang.ClassLoader);
descriptor: (Ljava/lang/module/ResolvedModule;Ljdk/internal/loader/LoaderPool;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.lang.StringBuilder
dup
ldc "Loader-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.security.SecureClassLoader.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
1: aload 0
2: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.Loader.remotePackageToLoader:Ljava/util/Map;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.Loader.moduleToReader:Ljava/util/Map;
5: aload 0
aload 2
putfield jdk.internal.loader.Loader.pool:Ljdk/internal/loader/LoaderPool;
6: aload 0
aload 3
putfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
7: aload 1
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 4
start local 4 8: aload 4
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 5
start local 5 9: aload 5
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 6
start local 6 10: aload 0
aload 6
aload 4
invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
putfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
11: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 7
start local 7 12: new jdk.internal.loader.Loader$LoadedModule
dup
aload 4
invokespecial jdk.internal.loader.Loader$LoadedModule.<init>:(Ljava/lang/module/ModuleReference;)V
astore 8
start local 8 13: aload 5
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 7
aload 8
invokedynamic accept(Ljava/util/Map;Ljdk/internal/loader/Loader$LoadedModule;)Ljava/util/function/Consumer;
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;)V
jdk/internal/loader/Loader.lambda$0(Ljava/util/Map;Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
14: aload 0
aload 7
putfield jdk.internal.loader.Loader.localPackageToModule:Ljava/util/Map;
15: aload 0
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
putfield jdk.internal.loader.Loader.acc:Ljava/security/AccessControlContext;
16: return
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 17 0 this Ljdk/internal/loader/Loader;
0 17 1 resolvedModule Ljava/lang/module/ResolvedModule;
0 17 2 pool Ljdk/internal/loader/LoaderPool;
0 17 3 parent Ljava/lang/ClassLoader;
8 17 4 mref Ljava/lang/module/ModuleReference;
9 17 5 descriptor Ljava/lang/module/ModuleDescriptor;
10 17 6 mn Ljava/lang/String;
12 17 7 localPackageToModule Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;>;
13 17 8 lm Ljdk/internal/loader/Loader$LoadedModule;
MethodParameters:
Name Flags
resolvedModule
pool
parent
public void <init>(java.util.Collection<java.lang.module.ResolvedModule>, java.lang.ClassLoader);
descriptor: (Ljava/util/Collection;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial java.security.SecureClassLoader.<init>:(Ljava/lang/ClassLoader;)V
1: aload 0
2: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.Loader.remotePackageToLoader:Ljava/util/Map;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield jdk.internal.loader.Loader.moduleToReader:Ljava/util/Map;
5: aload 0
aconst_null
putfield jdk.internal.loader.Loader.pool:Ljdk/internal/loader/LoaderPool;
6: aload 0
aload 2
putfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
7: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 8: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 9: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 15
StackMap locals: jdk.internal.loader.Loader java.util.Collection java.lang.ClassLoader java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 5
start local 5 11: aload 5
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 7
start local 7 12: aload 7
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 8
start local 8 13: aload 3
aload 8
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 8
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 7
aload 4
invokedynamic accept(Ljava/lang/module/ModuleReference;Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
jdk/internal/loader/Loader.lambda$1(Ljava/lang/module/ModuleReference;Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
end local 8 end local 7 end local 5 15: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
16: aload 0
aload 3
putfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
17: aload 0
aload 4
putfield jdk.internal.loader.Loader.localPackageToModule:Ljava/util/Map;
18: aload 0
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
putfield jdk.internal.loader.Loader.acc:Ljava/security/AccessControlContext;
19: return
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/Loader;
0 20 1 modules Ljava/util/Collection<Ljava/lang/module/ResolvedModule;>;
0 20 2 parent Ljava/lang/ClassLoader;
8 20 3 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
9 20 4 localPackageToModule Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;>;
11 15 5 resolvedModule Ljava/lang/module/ResolvedModule;
12 15 7 mref Ljava/lang/module/ModuleReference;
13 15 8 descriptor Ljava/lang/module/ModuleDescriptor;
Signature: (Ljava/util/Collection<Ljava/lang/module/ResolvedModule;>;Ljava/lang/ClassLoader;)V
MethodParameters:
Name Flags
modules
parent
public jdk.internal.loader.Loader initRemotePackageMap(java.lang.module.Configuration, java.util.List<java.lang.ModuleLayer>);
descriptor: (Ljava/lang/module/Configuration;Ljava/util/List;)Ljdk/internal/loader/Loader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 42
StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 1
aload 3
invokevirtual java.lang.module.Configuration.findModule:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 5
start local 5 3: getstatic jdk.internal.loader.Loader.$assertionsDisabled:Z
ifne 4
aload 5
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
aload 1
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule
StackMap stack:
aload 5
invokevirtual java.lang.module.ResolvedModule.reads:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 41
StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 6
start local 6 6: aload 6
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 8
start local 8 7: aload 6
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
aload 1
if_acmpne 12
8: aload 0
getfield jdk.internal.loader.Loader.pool:Ljdk/internal/loader/LoaderPool;
ifnonnull 10
9: getstatic jdk.internal.loader.Loader.$assertionsDisabled:Z
ifne 41
aload 0
getfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 41
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String
StackMap stack:
aload 0
getfield jdk.internal.loader.Loader.pool:Ljdk/internal/loader/LoaderPool;
aload 8
invokevirtual jdk.internal.loader.LoaderPool.loaderFor:(Ljava/lang/String;)Ljdk/internal/loader/Loader;
astore 9
start local 9 11: getstatic jdk.internal.loader.Loader.$assertionsDisabled:Z
ifne 22
aload 9
ifnonnull 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 9 12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
13: aload 0
aload 6
invokedynamic apply(Ljdk/internal/loader/Loader;Ljava/lang/module/ResolvedModule;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/loader/Loader.lambda$2(Ljava/lang/module/ResolvedModule;Ljava/lang/ModuleLayer;)Ljava/util/Optional; (7)
(Ljava/lang/ModuleLayer;)Ljava/util/Optional;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
14: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/util/Optional.stream()Ljava/util/stream/Stream; (5)
(Ljava/util/Optional;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
15: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
16: invokedynamic get()Ljava/util/function/Supplier;
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/Loader.lambda$4()Ljava/lang/InternalError; (6)
()Ljava/lang/InternalError;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.ModuleLayer
17: astore 10
start local 10 18: getstatic jdk.internal.loader.Loader.$assertionsDisabled:Z
ifne 19
aload 10
aload 8
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifne 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String top java.lang.ModuleLayer
StackMap stack:
aload 10
aload 8
invokevirtual java.lang.ModuleLayer.findLoader:(Ljava/lang/String;)Ljava/lang/ClassLoader;
astore 9
start local 9 20: aload 9
ifnonnull 22
21: invokestatic jdk.internal.loader.ClassLoaders.platformClassLoader:()Ljava/lang/ClassLoader;
astore 9
end local 10 22: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String java.lang.ClassLoader
StackMap stack:
aload 6
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 10
start local 10 23: aload 10
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 27
24: aload 9
astore 11
start local 11 25: aload 10
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 0
aload 11
invokedynamic accept(Ljdk/internal/loader/Loader;Ljava/lang/ClassLoader;)Ljava/util/function/Consumer;
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;)V
jdk/internal/loader/Loader.lambda$5(Ljava/lang/ClassLoader;Ljava/lang/String;)V (7)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
end local 11 26: goto 41
27: StackMap locals: java.lang.module.ModuleDescriptor
StackMap stack:
aload 5
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 11
start local 11 28: aload 10
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 40
StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String java.lang.ClassLoader java.lang.module.ModuleDescriptor java.lang.String top java.util.Iterator
StackMap stack:
29: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Exports
astore 12
start local 12 30: aload 12
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifeq 37
31: aload 6
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
aload 1
if_acmpne 34
32: aload 12
invokevirtual java.lang.module.ModuleDescriptor$Exports.targets:()Ljava/util/Set;
aload 11
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 34
33: iconst_1
goto 35
StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String java.lang.ClassLoader java.lang.module.ModuleDescriptor java.lang.String java.lang.module.ModuleDescriptor$Exports java.util.Iterator
StackMap stack:
34: iconst_0
StackMap locals:
StackMap stack: int
35: istore 14
start local 14 36: goto 38
end local 14 37: StackMap locals:
StackMap stack:
iconst_1
istore 14
start local 14 38: StackMap locals: int
StackMap stack:
iload 14
ifeq 40
39: aload 0
aload 12
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
aload 9
invokevirtual jdk.internal.loader.Loader.remotePackage:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
end local 14 end local 12 40: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule java.lang.module.ResolvedModule java.util.Iterator java.lang.String java.lang.ClassLoader java.lang.module.ModuleDescriptor java.lang.String top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
end local 11 end local 10 end local 9 end local 8 end local 6 41: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List java.lang.String java.util.Iterator java.lang.module.ResolvedModule top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 5 end local 3 42: StackMap locals: jdk.internal.loader.Loader java.lang.module.Configuration java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
43: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljdk/internal/loader/Loader;
0 44 1 cf Ljava/lang/module/Configuration;
0 44 2 parentModuleLayers Ljava/util/List<Ljava/lang/ModuleLayer;>;
2 42 3 name Ljava/lang/String;
3 42 5 resolvedModule Ljava/lang/module/ResolvedModule;
6 41 6 other Ljava/lang/module/ResolvedModule;
7 41 8 mn Ljava/lang/String;
11 12 9 loader Ljava/lang/ClassLoader;
20 41 9 loader Ljava/lang/ClassLoader;
18 22 10 layer Ljava/lang/ModuleLayer;
23 41 10 descriptor Ljava/lang/module/ModuleDescriptor;
25 26 11 l Ljava/lang/ClassLoader;
28 41 11 target Ljava/lang/String;
30 40 12 e Ljava/lang/module/ModuleDescriptor$Exports;
36 37 14 delegate Z
38 40 14 delegate Z
Signature: (Ljava/lang/module/Configuration;Ljava/util/List<Ljava/lang/ModuleLayer;>;)Ljdk/internal/loader/Loader;
MethodParameters:
Name Flags
cf
parentModuleLayers
private void remotePackage(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.loader.Loader.remotePackageToLoader:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 3
start local 3 1: aload 3
ifnull 5
aload 3
aload 2
if_acmpeq 5
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " cannot be imported from multiple loaders"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.ClassLoader
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/loader/Loader;
0 6 1 pn Ljava/lang/String;
0 6 2 loader Ljava/lang/ClassLoader;
1 6 3 l Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
pn
loader
private java.util.Optional<java.lang.ModuleLayer> findModuleLayer(java.lang.ModuleLayer, java.lang.module.Configuration);
descriptor: (Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;)Ljava/util/Optional;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
aload 1
invokeinterface jdk.internal.access.JavaLangAccess.layers:(Ljava/lang/ModuleLayer;)Ljava/util/stream/Stream;
1: aload 2
invokedynamic test(Ljava/lang/module/Configuration;)Ljava/util/function/Predicate;
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;)Z
jdk/internal/loader/Loader.lambda$6(Ljava/lang/module/Configuration;Ljava/lang/ModuleLayer;)Z (6)
(Ljava/lang/ModuleLayer;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/Loader;
0 4 1 parent Ljava/lang/ModuleLayer;
0 4 2 cf Ljava/lang/module/Configuration;
Signature: (Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;)Ljava/util/Optional<Ljava/lang/ModuleLayer;>;
MethodParameters:
Name Flags
parent
cf
public jdk.internal.loader.LoaderPool pool();
descriptor: ()Ljdk/internal/loader/LoaderPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Loader.pool:Ljdk/internal/loader/LoaderPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
protected java.net.URL findResource(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 0
getfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.module.ModuleReference
2: astore 3
start local 3 3: aload 3
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.module.ModuleReference
StackMap stack:
aconst_null
astore 4
start local 4 6: new jdk.internal.loader.Loader$1
dup
aload 0
aload 3
aload 2
invokespecial jdk.internal.loader.Loader$1.<init>:(Ljdk/internal/loader/Loader;Ljava/lang/module/ModuleReference;Ljava/lang/String;)V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.URL
astore 4
8: goto 11
StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String java.lang.module.ModuleReference java.net.URL
StackMap stack: java.security.PrivilegedActionException
9: astore 5
start local 5 10: aload 5
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 5 11: StackMap locals:
StackMap stack:
aload 4
ifnull 19
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 19
12: aload 4
astore 5
start local 5 13: new jdk.internal.loader.Loader$2
dup
aload 0
aload 5
invokespecial jdk.internal.loader.Loader$2.<init>:(Ljdk/internal/loader/Loader;Ljava/net/URL;)V
14: aload 0
getfield jdk.internal.loader.Loader.acc:Ljava/security/AccessControlContext;
15: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.net.URL
astore 4
end local 5 16: goto 19
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
17: pop
18: aconst_null
astore 4
19: 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 20 0 this Ljdk/internal/loader/Loader;
0 20 1 mn Ljava/lang/String;
0 20 2 name Ljava/lang/String;
3 20 3 mref Ljava/lang/module/ModuleReference;
6 20 4 url Ljava/net/URL;
10 11 5 pae Ljava/security/PrivilegedActionException;
13 16 5 urlToCheck Ljava/net/URL;
Exception table:
from to target type
6 8 9 Class java.security.PrivilegedActionException
12 16 17 Class java.security.PrivilegedActionException
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=7, 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: aload 0
getfield jdk.internal.loader.Loader.localPackageToModule:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.Loader$LoadedModule
astore 3
start local 3 2: aload 3
ifnull 12
3: aload 0
aload 3
invokevirtual jdk.internal.loader.Loader$LoadedModule.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.Loader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 4: aload 4
ifnull 19
5: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 8
6: aload 4
invokevirtual java.net.URL.toString:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 8
7: aload 0
aload 3
invokevirtual jdk.internal.loader.Loader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
aload 2
invokevirtual jdk.internal.loader.Loader.isOpen:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Z
ifeq 19
8: StackMap locals: java.lang.String jdk.internal.loader.Loader$LoadedModule java.net.URL
StackMap stack:
aload 4
9: areturn
end local 4 10: StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$LoadedModule
StackMap stack: java.io.IOException
pop
11: goto 19
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$LoadedModule top java.util.Iterator
StackMap stack:
13: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 4
start local 4 14: aload 0
aload 4
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.Loader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 6
start local 6 15: aload 6
ifnull 18
aload 6
16: areturn
end local 6 17: StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$LoadedModule java.lang.module.ModuleReference java.util.Iterator
StackMap stack: java.io.IOException
pop
end local 4 18: StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$LoadedModule top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
19: StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$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 20 0 this Ljdk/internal/loader/Loader;
0 20 1 name Ljava/lang/String;
1 20 2 pn Ljava/lang/String;
2 20 3 module Ljdk/internal/loader/Loader$LoadedModule;
4 10 4 url Ljava/net/URL;
14 18 4 mref Ljava/lang/module/ModuleReference;
15 17 6 url Ljava/net/URL;
Exception table:
from to target type
3 9 10 Class java.io.IOException
14 16 17 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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findResourcesAsList:(Ljava/lang/String;)Ljava/util/List;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
public java.net.URL getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 2: aload 2
ifnonnull 7
3: aload 0
getfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
ifnull 6
4: aload 0
getfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
5: goto 7
6: StackMap locals: java.net.URL
StackMap stack:
aload 1
invokestatic jdk.internal.loader.BootLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/loader/Loader;
0 8 1 name Ljava/lang/String;
2 8 2 url Ljava/net/URL;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.net.URL> getResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findResourcesAsList:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 2: aload 0
getfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
ifnull 5
3: aload 0
getfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals: java.util.List
StackMap stack:
aload 1
invokestatic jdk.internal.loader.BootLoader.findResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 6: StackMap locals: java.util.Enumeration
StackMap stack:
new jdk.internal.loader.Loader$3
dup
aload 0
aload 2
aload 3
invokespecial jdk.internal.loader.Loader$3.<init>:(Ljdk/internal/loader/Loader;Ljava/util/List;Ljava/util/Enumeration;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/loader/Loader;
0 7 1 name Ljava/lang/String;
2 7 2 urls Ljava/util/List<Ljava/net/URL;>;
4 5 3 e Ljava/util/Enumeration<Ljava/net/URL;>;
6 7 3 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> findResourcesAsList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, 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: aload 0
getfield jdk.internal.loader.Loader.localPackageToModule:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.Loader$LoadedModule
astore 3
start local 3 2: aload 3
ifnull 10
3: aload 0
aload 3
invokevirtual jdk.internal.loader.Loader$LoadedModule.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.Loader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 4: aload 4
ifnull 9
5: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 8
6: aload 4
invokevirtual java.net.URL.toString:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 8
7: aload 0
aload 3
invokevirtual jdk.internal.loader.Loader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
aload 2
invokevirtual jdk.internal.loader.Loader.isOpen:(Ljava/lang/module/ModuleReference;Ljava/lang/String;)Z
ifeq 9
8: StackMap locals: java.lang.String jdk.internal.loader.Loader$LoadedModule java.net.URL
StackMap stack:
aload 4
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
areturn
9: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 4 10: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 11: aload 0
getfield jdk.internal.loader.Loader.nameToModule:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: jdk.internal.loader.Loader java.lang.String java.lang.String jdk.internal.loader.Loader$LoadedModule java.util.List top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 5
start local 5 13: aload 0
aload 5
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aload 1
invokevirtual jdk.internal.loader.Loader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 7
start local 7 14: aload 7
ifnull 16
15: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 16: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
17: 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 18 0 this Ljdk/internal/loader/Loader;
0 18 1 name Ljava/lang/String;
1 18 2 pn Ljava/lang/String;
2 18 3 module Ljdk/internal/loader/Loader$LoadedModule;
4 10 4 url Ljava/net/URL;
11 18 4 urls Ljava/util/List<Ljava/net/URL;>;
13 16 5 mref Ljava/lang/module/ModuleReference;
14 16 7 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/List<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: aconst_null
astore 2
start local 2 1: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/Loader$LoadedModule;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 0
aload 3
aload 1
invokevirtual jdk.internal.loader.Loader.findClassInModuleOrNull:(Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
astore 2
4: StackMap locals: java.lang.Class jdk.internal.loader.Loader$LoadedModule
StackMap stack:
aload 2
ifnonnull 6
5: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/loader/Loader;
0 7 1 cn Ljava/lang/String;
1 7 2 c Ljava/lang/Class<*>;
2 7 3 loadedModule Ljdk/internal/loader/Loader$LoadedModule;
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=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
aload 2
invokevirtual jdk.internal.loader.Loader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/Loader$LoadedModule;
astore 4
start local 4 2: aload 4
ifnull 4
aload 4
invokevirtual jdk.internal.loader.Loader$LoadedModule.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 4
aload 2
invokevirtual jdk.internal.loader.Loader.findClassInModuleOrNull:(Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
astore 3
4: StackMap locals: java.lang.Class jdk.internal.loader.Loader$LoadedModule
StackMap stack:
aload 3
areturn
end local 4 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/Loader;
0 5 1 mn Ljava/lang/String;
0 5 2 cn Ljava/lang/String;
1 5 3 c Ljava/lang/Class<*>;
2 5 4 loadedModule Ljdk/internal/loader/Loader$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=9, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.packageName:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
4: aload 3
aload 4
invokevirtual java.lang.SecurityManager.checkPackageAccess:(Ljava/lang/String;)V
end local 4 5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.getClassLoadingLock:(Ljava/lang/String;)Ljava/lang/Object;
dup
astore 4
monitorenter
6: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 7: aload 5
ifnonnull 20
8: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.findLoadedModule:(Ljava/lang/String;)Ljdk/internal/loader/Loader$LoadedModule;
astore 6
start local 6 9: aload 6
ifnull 12
10: aload 0
aload 6
aload 1
invokevirtual jdk.internal.loader.Loader.findClassInModuleOrNull:(Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class;
astore 5
11: goto 20
12: StackMap locals: java.lang.Object java.lang.Class jdk.internal.loader.Loader$LoadedModule
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.packageName:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 13: aload 0
getfield jdk.internal.loader.Loader.remotePackageToLoader:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 8
start local 8 14: aload 8
ifnonnull 16
15: aload 0
getfield jdk.internal.loader.Loader.parent:Ljava/lang/ClassLoader;
astore 8
16: StackMap locals: java.lang.String java.lang.ClassLoader
StackMap stack:
aload 8
ifnonnull 19
17: aload 1
invokestatic jdk.internal.loader.BootLoader.loadClassOrNull:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
18: goto 20
19: StackMap locals:
StackMap stack:
aload 8
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
end local 8 end local 7 end local 6 20: StackMap locals:
StackMap stack:
aload 5
ifnonnull 22
21: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
iload 2
ifeq 24
23: aload 0
aload 5
invokevirtual jdk.internal.loader.Loader.resolveClass:(Ljava/lang/Class;)V
24: StackMap locals:
StackMap stack:
aload 5
aload 4
monitorexit
25: areturn
end local 5 26: StackMap locals: jdk.internal.loader.Loader java.lang.String int java.lang.SecurityManager java.lang.Object
StackMap stack: java.lang.Throwable
aload 4
monitorexit
27: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/internal/loader/Loader;
0 28 1 cn Ljava/lang/String;
0 28 2 resolve Z
1 28 3 sm Ljava/lang/SecurityManager;
3 5 4 pn Ljava/lang/String;
7 26 5 c Ljava/lang/Class<*>;
9 20 6 loadedModule Ljdk/internal/loader/Loader$LoadedModule;
13 20 7 pn Ljava/lang/String;
14 20 8 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
6 25 26 any
26 27 26 any
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
resolve
private java.lang.Class<?> findClassInModuleOrNull(jdk.internal.loader.Loader$LoadedModule, java.lang.String);
descriptor: (Ljdk/internal/loader/Loader$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: aload 0
aload 2
aload 1
invokedynamic run(Ljdk/internal/loader/Loader;Ljava/lang/String;Ljdk/internal/loader/Loader$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/Loader.lambda$7(Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;)Ljava/lang/Class; (7)
()Ljava/lang/Class;
astore 3
start local 3 1: aload 3
aload 0
getfield jdk.internal.loader.Loader.acc:Ljava/security/AccessControlContext;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)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 2 0 this Ljdk/internal/loader/Loader;
0 2 1 loadedModule Ljdk/internal/loader/Loader$LoadedModule;
0 2 2 cn Ljava/lang/String;
1 2 3 pa Ljava/security/PrivilegedAction<Ljava/lang/Class<*>;>;
Signature: (Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
loadedModule
cn
private java.lang.Class<?> defineClass(java.lang.String, jdk.internal.loader.Loader$LoadedModule);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.internal.loader.Loader$LoadedModule.mref:()Ljava/lang/module/ModuleReference;
invokevirtual jdk.internal.loader.Loader.moduleReaderFor:(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
astore 3
start local 3 1: 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 4
start local 4 2: aload 3
aload 4
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
start local 5 3: aload 5
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.module.ModuleReader java.lang.String java.nio.ByteBuffer
StackMap stack:
aload 0
aload 1
aload 5
aload 2
invokevirtual jdk.internal.loader.Loader$LoadedModule.codeSource:()Ljava/security/CodeSource;
invokevirtual jdk.internal.loader.Loader.defineClass:(Ljava/lang/String;Ljava/nio/ByteBuffer;Ljava/security/CodeSource;)Ljava/lang/Class;
astore 7
6: aload 3
aload 5
invokeinterface java.lang.module.ModuleReader.release:(Ljava/nio/ByteBuffer;)V
7: aload 7
areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
9: aload 3
aload 5
invokeinterface java.lang.module.ModuleReader.release:(Ljava/nio/ByteBuffer;)V
10: aload 6
athrow
end local 5 end local 4 11: StackMap locals: jdk.internal.loader.Loader java.lang.String jdk.internal.loader.Loader$LoadedModule java.lang.module.ModuleReader
StackMap stack: java.io.IOException
pop
12: aconst_null
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/Loader;
0 13 1 cn Ljava/lang/String;
0 13 2 loadedModule Ljdk/internal/loader/Loader$LoadedModule;
1 13 3 reader Ljava/lang/module/ModuleReader;
2 11 4 rn Ljava/lang/String;
3 11 5 bb Ljava/nio/ByteBuffer;
Exception table:
from to target type
5 6 8 any
1 4 11 Class java.io.IOException
5 7 11 Class java.io.IOException
8 11 11 Class java.io.IOException
Signature: (Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cn
loadedModule
protected java.security.PermissionCollection getPermissions(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.security.SecureClassLoader.getPermissions:(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
astore 2
start local 2 1: aload 1
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 2
areturn
4: StackMap locals: java.security.PermissionCollection java.net.URL
StackMap stack:
aload 3
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getPermission:()Ljava/security/Permission;
astore 4
start local 4 5: aload 4
ifnull 14
6: aload 4
instanceof java.io.FilePermission
ifeq 11
7: aload 4
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
astore 5
start local 5 8: aload 5
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
9: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
10: new java.io.FilePermission
dup
aload 5
ldc "read"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
end local 5 11: StackMap locals: java.security.Permission
StackMap stack:
aload 2
aload 4
invokevirtual java.security.PermissionCollection.add:(Ljava/security/Permission;)V
end local 4 12: goto 14
StackMap locals: jdk.internal.loader.Loader java.security.CodeSource java.security.PermissionCollection java.net.URL
StackMap stack: java.io.IOException
13: pop
14: StackMap locals:
StackMap stack:
aload 2
areturn
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/Loader;
0 15 1 cs Ljava/security/CodeSource;
1 15 2 perms Ljava/security/PermissionCollection;
2 15 3 url Ljava/net/URL;
5 12 4 p Ljava/security/Permission;
8 11 5 path Ljava/lang/String;
Exception table:
from to target type
4 12 13 Class java.io.IOException
MethodParameters:
Name Flags
cs
private jdk.internal.loader.Loader$LoadedModule findLoadedModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/Loader$LoadedModule;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.packageName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 0
getfield jdk.internal.loader.Loader.localPackageToModule:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.Loader$LoadedModule
StackMap locals:
StackMap stack: jdk.internal.loader.Loader$LoadedModule
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/Loader;
0 4 1 cn Ljava/lang/String;
1 4 2 pn Ljava/lang/String;
MethodParameters:
Name Flags
cn
private java.lang.String packageName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, 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 2
ldc ""
goto 3
StackMap locals: int
StackMap stack:
2: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/Loader;
0 4 1 cn Ljava/lang/String;
1 4 2 pos I
MethodParameters:
Name Flags
cn
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=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.Loader.moduleToReader:Ljava/util/Map;
aload 1
aload 0
aload 1
invokedynamic apply(Ljdk/internal/loader/Loader;Ljava/lang/module/ModuleReference;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/loader/Loader.lambda$8(Ljava/lang/module/ModuleReference;Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader; (7)
(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
0 1 1 mref Ljava/lang/module/ModuleReference;
MethodParameters:
Name Flags
mref
private java.lang.module.ModuleReader createModuleReader(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleReference.open:()Ljava/lang/module/ModuleReader;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: new jdk.internal.loader.Loader$NullModuleReader
dup
invokespecial jdk.internal.loader.Loader$NullModuleReader.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/Loader;
0 4 1 mref Ljava/lang/module/ModuleReference;
Exception table:
from to target type
0 1 2 Class java.io.IOException
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.Loader 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/Loader;
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 void lambda$0(java.util.Map, jdk.internal.loader.Loader$LoadedModule, java.lang.String);
descriptor: (Ljava/util/Map;Ljdk/internal/loader/Loader$LoadedModule;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 pn Ljava/lang/String;
private static void lambda$1(java.lang.module.ModuleReference, java.util.Map, java.lang.String);
descriptor: (Ljava/lang/module/ModuleReference;Ljava/util/Map;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 2 0: new jdk.internal.loader.Loader$LoadedModule
dup
aload 0
invokespecial jdk.internal.loader.Loader$LoadedModule.<init>:(Ljava/lang/module/ModuleReference;)V
astore 3
start local 3 1: aload 1
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in more than one module"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 6 2 pn Ljava/lang/String;
1 5 3 lm Ljdk/internal/loader/Loader$LoadedModule;
private java.util.Optional lambda$2(java.lang.module.ResolvedModule, java.lang.ModuleLayer);
descriptor: (Ljava/lang/module/ResolvedModule;Ljava/lang/ModuleLayer;)Ljava/util/Optional;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
invokevirtual jdk.internal.loader.Loader.findModuleLayer:(Ljava/lang/ModuleLayer;Ljava/lang/module/Configuration;)Ljava/util/Optional;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
0 1 2 parent Ljava/lang/ModuleLayer;
private static java.lang.InternalError lambda$4();
descriptor: ()Ljava/lang/InternalError;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.InternalError
dup
ldc "Unable to find parent layer"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$5(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual jdk.internal.loader.Loader.remotePackage:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
0 1 2 pn Ljava/lang/String;
private static boolean lambda$6(java.lang.module.Configuration, java.lang.ModuleLayer);
descriptor: (Ljava/lang/module/Configuration;Ljava/lang/ModuleLayer;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual java.lang.ModuleLayer.configuration:()Ljava/lang/module/Configuration;
aload 0
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 l Ljava/lang/ModuleLayer;
private java.lang.Class lambda$7(java.lang.String, jdk.internal.loader.Loader$LoadedModule);
descriptor: (Ljava/lang/String;Ljdk/internal/loader/Loader$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.Loader.defineClass:(Ljava/lang/String;Ljdk/internal/loader/Loader$LoadedModule;)Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
private java.lang.module.ModuleReader lambda$8(java.lang.module.ModuleReference, java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.createModuleReader:(Ljava/lang/module/ModuleReference;)Ljava/lang/module/ModuleReader;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader;
0 1 2 m Ljava/lang/module/ModuleReference;
}
SourceFile: "Loader.java"
NestMembers:
jdk.internal.loader.Loader$1 jdk.internal.loader.Loader$2 jdk.internal.loader.Loader$3 jdk.internal.loader.Loader$LoadedModule jdk.internal.loader.Loader$NullModuleReader
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor
jdk.internal.loader.Loader$1
jdk.internal.loader.Loader$2
jdk.internal.loader.Loader$3
private LoadedModule = jdk.internal.loader.Loader$LoadedModule of jdk.internal.loader.Loader
private NullModuleReader = jdk.internal.loader.Loader$NullModuleReader of jdk.internal.loader.Loader