public final class jdk.internal.loader.LoaderPool
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.loader.LoaderPool
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, jdk.internal.loader.Loader> loaders;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/Loader;>;
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/LoaderPool;
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.LoaderPool.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.module.Configuration, java.util.List<java.lang.ModuleLayer>, java.lang.ClassLoader);
descriptor: (Ljava/lang/module/Configuration;Ljava/util/List;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 2: aload 1
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: jdk.internal.loader.LoaderPool java.lang.module.Configuration java.util.List java.lang.ClassLoader java.util.Map top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 5
start local 5 4: new jdk.internal.loader.Loader
dup
aload 5
aload 0
aload 3
invokespecial jdk.internal.loader.Loader.<init>:(Ljava/lang/module/ResolvedModule;Ljdk/internal/loader/LoaderPool;Ljava/lang/ClassLoader;)V
astore 7
start local 7 5: aload 5
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 8
start local 8 6: aload 4
aload 8
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
aload 4
putfield jdk.internal.loader.LoaderPool.loaders:Ljava/util/Map;
9: aload 4
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 1
aload 2
invokedynamic accept(Ljava/lang/module/Configuration;Ljava/util/List;)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/LoaderPool.lambda$0(Ljava/lang/module/Configuration;Ljava/util/List;Ljdk/internal/loader/Loader;)V (6)
(Ljdk/internal/loader/Loader;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/loader/LoaderPool;
0 11 1 cf Ljava/lang/module/Configuration;
0 11 2 parentLayers Ljava/util/List<Ljava/lang/ModuleLayer;>;
0 11 3 parentLoader Ljava/lang/ClassLoader;
2 11 4 loaders Ljava/util/Map<Ljava/lang/String;Ljdk/internal/loader/Loader;>;
4 7 5 resolvedModule Ljava/lang/module/ResolvedModule;
5 7 7 loader Ljdk/internal/loader/Loader;
6 7 8 mn Ljava/lang/String;
Signature: (Ljava/lang/module/Configuration;Ljava/util/List<Ljava/lang/ModuleLayer;>;Ljava/lang/ClassLoader;)V
MethodParameters:
Name Flags
cf
parentLayers
parentLoader
public jdk.internal.loader.Loader loaderFor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/Loader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.LoaderPool.loaders:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.Loader
astore 2
start local 2 1: getstatic jdk.internal.loader.LoaderPool.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.internal.loader.Loader
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/loader/LoaderPool;
0 3 1 name Ljava/lang/String;
1 3 2 loader Ljdk/internal/loader/Loader;
MethodParameters:
Name Flags
name
public java.util.stream.Stream<jdk.internal.loader.Loader> loaders();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.LoaderPool.loaders:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/LoaderPool;
Signature: ()Ljava/util/stream/Stream<Ljdk/internal/loader/Loader;>;
private static void lambda$0(java.lang.module.Configuration, java.util.List, jdk.internal.loader.Loader);
descriptor: (Ljava/lang/module/Configuration;Ljava/util/List;Ljdk/internal/loader/Loader;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokevirtual jdk.internal.loader.Loader.initRemotePackageMap:(Ljava/lang/module/Configuration;Ljava/util/List;)Ljdk/internal/loader/Loader;
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 l Ljdk/internal/loader/Loader;
}
SourceFile: "LoaderPool.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles