public final class java.lang.Module implements java.lang.reflect.AnnotatedElement
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.Module
super_class: java.lang.Object
{
private final java.lang.ModuleLayer layer;
descriptor: Ljava/lang/ModuleLayer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader loader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.module.ModuleDescriptor descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.Module ALL_UNNAMED_MODULE;
descriptor: Ljava/lang/Module;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.Module> ALL_UNNAMED_MODULE_SET;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Module;>;
private static final java.lang.Module EVERYONE_MODULE;
descriptor: Ljava/lang/Module;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.Module> EVERYONE_SET;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Module;>;
private volatile java.util.Set<java.lang.Module> reads;
descriptor: Ljava/util/Set;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Set<Ljava/lang/Module;>;
private volatile java.util.Map<java.lang.String, java.util.Set<java.lang.Module>> openPackages;
descriptor: Ljava/util/Map;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
private volatile java.util.Map<java.lang.String, java.util.Set<java.lang.Module>> exportedPackages;
descriptor: Ljava/util/Map;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
private volatile java.lang.Class<?> moduleInfoClass;
descriptor: Ljava/lang/Class;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/lang/Class<*>;
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 Ljava/lang/Module;
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 java.lang.Module.$assertionsDisabled:Z
3: new java.lang.Module
dup
aconst_null
invokespecial java.lang.Module.<init>:(Ljava/lang/ClassLoader;)V
putstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
4: getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
putstatic java.lang.Module.ALL_UNNAMED_MODULE_SET:Ljava/util/Set;
5: new java.lang.Module
dup
aconst_null
invokespecial java.lang.Module.<init>:(Ljava/lang/ClassLoader;)V
putstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
6: getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
putstatic java.lang.Module.EVERYONE_SET:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.ModuleLayer, java.lang.ClassLoader, java.lang.module.ModuleDescriptor, java.net.URI);
descriptor: (Ljava/lang/ModuleLayer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.lang.Module.layer:Ljava/lang/ModuleLayer;
2: aload 0
aload 3
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
putfield java.lang.Module.name:Ljava/lang/String;
3: aload 0
aload 2
putfield java.lang.Module.loader:Ljava/lang/ClassLoader;
4: aload 0
aload 3
putfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
5: aload 3
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 6
aload 3
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifne 6
iconst_0
goto 7
StackMap locals: java.lang.Module java.lang.ModuleLayer java.lang.ClassLoader java.lang.module.ModuleDescriptor java.net.URI
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: aload 3
invokevirtual java.lang.module.ModuleDescriptor.version:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Version
astore 6
start local 6 9: aload 6
aconst_null
invokestatic java.util.Objects.toString:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 10: aload 4
aconst_null
invokestatic java.util.Objects.toString:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 11: aload 3
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 9
start local 9 12: aload 0
iload 5
aload 7
aload 8
aload 9
invokestatic java.lang.Module.defineModule0:(Ljava/lang/Module;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
13: return
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 14 0 this Ljava/lang/Module;
0 14 1 layer Ljava/lang/ModuleLayer;
0 14 2 loader Ljava/lang/ClassLoader;
0 14 3 descriptor Ljava/lang/module/ModuleDescriptor;
0 14 4 uri Ljava/net/URI;
8 14 5 isOpen Z
9 14 6 version Ljava/lang/module/ModuleDescriptor$Version;
10 14 7 vs Ljava/lang/String;
11 14 8 loc Ljava/lang/String;
12 14 9 packages [Ljava/lang/String;
MethodParameters:
Name Flags
layer
loader
descriptor
uri
void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.lang.Module.layer:Ljava/lang/ModuleLayer;
2: aload 0
aconst_null
putfield java.lang.Module.name:Ljava/lang/String;
3: aload 0
aload 1
putfield java.lang.Module.loader:Ljava/lang/ClassLoader;
4: aload 0
aconst_null
putfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/Module;
0 6 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
void <init>(java.lang.ClassLoader, java.lang.module.ModuleDescriptor);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.lang.Module.layer:Ljava/lang/ModuleLayer;
2: aload 0
aload 2
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
putfield java.lang.Module.name:Ljava/lang/String;
3: aload 0
aload 1
putfield java.lang.Module.loader:Ljava/lang/ClassLoader;
4: aload 0
aload 2
putfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/lang/Module;
0 6 1 loader Ljava/lang/ClassLoader;
0 6 2 descriptor Ljava/lang/module/ModuleDescriptor;
MethodParameters:
Name Flags
loader
descriptor
public boolean isNamed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Module.name:Ljava/lang/String;
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 Ljava/lang/Module;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Module.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
getstatic sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/Module;
1 4 1 sm Ljava/lang/SecurityManager;
public java.lang.module.ModuleDescriptor getDescriptor();
descriptor: ()Ljava/lang/module/ModuleDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
public java.lang.ModuleLayer getLayer();
descriptor: ()Ljava/lang/ModuleLayer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 6
1: aload 0
getfield java.lang.Module.layer:Ljava/lang/ModuleLayer;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
areturn
4: StackMap locals: java.lang.ModuleLayer
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
ifnonnull 6
aload 0
getfield java.lang.Module.name:Ljava/lang/String;
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
areturn
end local 1 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/Module;
2 6 1 layer Ljava/lang/ModuleLayer;
public boolean canRead(java.lang.Module);
descriptor: (Ljava/lang/Module;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
invokevirtual java.lang.Module.isNamed:()Z
ifne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Module.isNamed:()Z
ifeq 9
6: aload 0
getfield java.lang.Module.reads:Ljava/util/Set;
astore 2
start local 2 7: aload 2
ifnull 9
aload 2
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
end local 2 9: StackMap locals:
StackMap stack:
getstatic java.lang.Module$ReflectionData.reads:Ljava/lang/WeakPairMap;
aload 0
aload 1
invokevirtual java.lang.WeakPairMap.containsKeyPair:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Module.isNamed:()Z
ifne 14
12: getstatic java.lang.Module$ReflectionData.reads:Ljava/lang/WeakPairMap;
aload 0
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
invokevirtual java.lang.WeakPairMap.containsKeyPair:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/lang/Module;
0 15 1 other Ljava/lang/Module;
7 9 2 reads Ljava/util/Set<Ljava/lang/Module;>;
MethodParameters:
Name Flags
other
public java.lang.Module addReads(java.lang.Module);
descriptor: (Ljava/lang/Module;)Ljava/lang/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
invokevirtual java.lang.Module.isNamed:()Z
ifeq 6
2: aload 0
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokevirtual java.lang.Module.getCallerModule:(Ljava/lang/Class;)Ljava/lang/Module;
astore 2
start local 2 3: aload 2
aload 0
if_acmpeq 5
4: new java.lang.IllegalCallerException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Module
StackMap stack:
aload 0
aload 1
iconst_1
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
end local 2 6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/Module;
0 7 1 other Ljava/lang/Module;
3 6 2 caller Ljava/lang/Module;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
other
void implAddReads(java.lang.Module);
descriptor: (Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 other Ljava/lang/Module;
MethodParameters:
Name Flags
other
void implAddReadsAllUnnamed();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
iconst_1
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
void implAddReadsNoSync(java.lang.Module);
descriptor: (Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 other Ljava/lang/Module;
MethodParameters:
Name Flags
other
private void implAddReads(java.lang.Module, boolean);
descriptor: (Ljava/lang/Module;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Module.canRead:(Ljava/lang/Module;)Z
ifne 8
2: iload 2
ifeq 7
3: aload 1
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
if_acmpne 6
4: aload 0
aconst_null
invokestatic java.lang.Module.addReads0:(Ljava/lang/Module;Ljava/lang/Module;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.lang.Module.addReads0:(Ljava/lang/Module;Ljava/lang/Module;)V
7: StackMap locals:
StackMap stack:
getstatic java.lang.Module$ReflectionData.reads:Ljava/lang/WeakPairMap;
aload 0
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.WeakPairMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Module;
0 9 1 other Ljava/lang/Module;
0 9 2 syncVM Z
MethodParameters:
Name Flags
other
syncVM
public boolean isExported(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
aload 2
iconst_0
invokevirtual java.lang.Module.implIsExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Module;
0 3 1 pn Ljava/lang/String;
0 3 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
public boolean isOpen(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
aload 2
iconst_1
invokevirtual java.lang.Module.implIsExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Module;
0 3 1 pn Ljava/lang/String;
0 3 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
public boolean isExported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, 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
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
iconst_0
invokevirtual java.lang.Module.implIsExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
public boolean isOpen(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, 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
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
iconst_1
invokevirtual java.lang.Module.implIsExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
private boolean implIsExportedOrOpen(java.lang.String, java.lang.Module, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Module;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 2
aload 0
if_acmpne 4
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 5
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 6
5: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual java.lang.Module.isStaticallyExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual java.lang.Module.isReflectivelyExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ifeq 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/lang/Module;
0 11 1 pn Ljava/lang/String;
0 11 2 other Ljava/lang/Module;
0 11 3 open Z
MethodParameters:
Name Flags
pn
other
open
private boolean isStaticallyExportedOrOpen(java.lang.String, java.lang.Module, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Module;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.lang.Module.openPackages:Ljava/util/Map;
astore 4
start local 4 1: aload 4
ifnull 3
aload 0
aload 4
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
aload 2
invokevirtual java.lang.Module.allows:(Ljava/util/Set;Ljava/lang/Module;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.util.Map
StackMap stack:
iload 3
ifne 7
4: aload 0
getfield java.lang.Module.exportedPackages:Ljava/util/Map;
astore 5
start local 5 5: aload 5
ifnull 7
aload 0
aload 5
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
aload 2
invokevirtual java.lang.Module.allows:(Ljava/util/Set;Ljava/lang/Module;)Z
ifeq 7
6: iconst_1
ireturn
end local 5 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/lang/Module;
0 8 1 pn Ljava/lang/String;
0 8 2 other Ljava/lang/Module;
0 8 3 open Z
1 8 4 openPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
5 7 5 exportedPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
MethodParameters:
Name Flags
pn
other
open
private boolean allows(java.util.Set<java.lang.Module>, java.lang.Module);
descriptor: (Ljava/util/Set;Ljava/lang/Module;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 8
1: aload 1
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 2
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
if_acmpeq 8
4: aload 1
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Module.isNamed:()Z
ifne 8
aload 1
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Module;
0 9 1 targets Ljava/util/Set<Ljava/lang/Module;>;
0 9 2 module Ljava/lang/Module;
Signature: (Ljava/util/Set<Ljava/lang/Module;>;Ljava/lang/Module;)Z
MethodParameters:
Name Flags
targets
module
private boolean isReflectivelyExportedOrOpen(java.lang.String, java.lang.Module, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Module;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic java.lang.Module$ReflectionData.exports:Ljava/lang/WeakPairMap;
aload 0
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
invokevirtual java.lang.WeakPairMap.get:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 4
start local 4 1: aload 4
ifnull 7
2: aload 4
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 3: aload 5
ifnull 7
4: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 6
start local 6 5: iload 3
ifeq 6
iload 6
ifeq 7
StackMap locals: java.util.Map java.lang.Boolean int
StackMap stack:
6: iconst_1
ireturn
end local 6 end local 5 7: StackMap locals:
StackMap stack:
aload 2
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
if_acmpeq 23
8: getstatic java.lang.Module$ReflectionData.exports:Ljava/lang/WeakPairMap;
aload 0
aload 2
invokevirtual java.lang.WeakPairMap.get:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 4
9: aload 4
ifnull 15
10: aload 4
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 11: aload 5
ifnull 15
12: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 6
start local 6 13: iload 3
ifeq 14
iload 6
ifeq 15
StackMap locals: java.lang.Boolean int
StackMap stack:
14: iconst_1
ireturn
end local 6 end local 5 15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Module.isNamed:()Z
ifne 23
16: getstatic java.lang.Module$ReflectionData.exports:Ljava/lang/WeakPairMap;
aload 0
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
invokevirtual java.lang.WeakPairMap.get:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 4
17: aload 4
ifnull 23
18: aload 4
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 19: aload 5
ifnull 23
20: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 6
start local 6 21: iload 3
ifeq 22
iload 6
ifeq 23
StackMap locals: java.lang.Boolean int
StackMap stack:
22: iconst_1
ireturn
end local 6 end local 5 23: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 Ljava/lang/Module;
0 24 1 pn Ljava/lang/String;
0 24 2 other Ljava/lang/Module;
0 24 3 open Z
1 24 4 exports Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
3 7 5 b Ljava/lang/Boolean;
5 7 6 isOpen Z
11 15 5 b Ljava/lang/Boolean;
13 15 6 isOpen Z
19 23 5 b Ljava/lang/Boolean;
21 23 6 isOpen Z
MethodParameters:
Name Flags
pn
other
open
boolean isReflectivelyExported(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual java.lang.Module.isReflectivelyExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
0 1 1 pn Ljava/lang/String;
0 1 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
boolean isReflectivelyOpened(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual java.lang.Module.isReflectivelyExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
0 1 1 pn Ljava/lang/String;
0 1 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
public java.lang.Module addExports(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "package is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 8
4: aload 0
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokevirtual java.lang.Module.getCallerModule:(Ljava/lang/Class;)Ljava/lang/Module;
astore 3
start local 3 5: aload 3
aload 0
if_acmpeq 7
6: new java.lang.IllegalCallerException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Module
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Module;
0 9 1 pn Ljava/lang/String;
0 9 2 other Ljava/lang/Module;
5 8 3 caller Ljava/lang/Module;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
pn
other
public java.lang.Module addOpens(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "package is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 8
4: aload 0
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokevirtual java.lang.Module.getCallerModule:(Ljava/lang/Class;)Ljava/lang/Module;
astore 3
start local 3 5: aload 3
aload 0
if_acmpeq 7
aload 3
ifnull 6
aload 0
aload 1
aload 3
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifne 7
6: StackMap locals: java.lang.Module
StackMap stack:
new java.lang.IllegalCallerException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not open to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_1
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Module;
0 9 1 pn Ljava/lang/String;
0 9 2 other Ljava/lang/Module;
5 8 3 caller Ljava/lang/Module;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
pn
other
void implAddExports(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
iconst_0
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
void implAddExports(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
0 2 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
void implAddExportsToAllUnnamed(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
iconst_0
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
void implAddExportsNoSync(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
iconst_0
iconst_0
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
void implAddExportsNoSync(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
aload 2
iconst_0
iconst_0
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
0 2 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
void implAddOpens(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
iconst_1
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
void implAddOpens(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
0 2 2 other Ljava/lang/Module;
MethodParameters:
Name Flags
pn
other
void implAddOpensToAllUnnamed(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
iconst_1
iconst_1
invokevirtual java.lang.Module.implAddExportsOrOpens:(Ljava/lang/String;Ljava/lang/Module;ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
private void implAddExportsOrOpens(java.lang.String, java.lang.Module, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Module;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 3
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 3
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual java.lang.Module.implIsExportedOrOpen:(Ljava/lang/String;Ljava/lang/Module;Z)Z
ifeq 15
5: iconst_0
istore 5
start local 5 6: aload 2
invokevirtual java.lang.Module.isNamed:()Z
ifne 13
7: invokestatic jdk.internal.module.IllegalAccessLogger.illegalAccessLogger:()Ljdk/internal/module/IllegalAccessLogger;
astore 6
start local 6 8: aload 6
ifnull 13
9: iload 3
ifeq 12
10: aload 6
aload 0
aload 1
invokevirtual jdk.internal.module.IllegalAccessLogger.isOpenForIllegalAccess:(Ljava/lang/Module;Ljava/lang/String;)Z
istore 5
11: goto 13
12: StackMap locals: int jdk.internal.module.IllegalAccessLogger
StackMap stack:
aload 6
aload 0
aload 1
invokevirtual jdk.internal.module.IllegalAccessLogger.isExportedForIllegalAccess:(Ljava/lang/Module;Ljava/lang/String;)Z
istore 5
end local 6 13: StackMap locals:
StackMap stack:
iload 5
ifne 15
14: return
end local 5 15: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 19
16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc " not in contents"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iload 4
ifeq 27
20: aload 2
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
if_acmpne 23
21: aload 0
aload 1
invokestatic java.lang.Module.addExportsToAll0:(Ljava/lang/Module;Ljava/lang/String;)V
22: goto 27
StackMap locals:
StackMap stack:
23: aload 2
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
if_acmpne 26
24: aload 0
aload 1
invokestatic java.lang.Module.addExportsToAllUnnamed0:(Ljava/lang/Module;Ljava/lang/String;)V
25: goto 27
26: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic java.lang.Module.addExports0:(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
27: StackMap locals:
StackMap stack:
getstatic java.lang.Module$ReflectionData.exports:Ljava/lang/WeakPairMap;
28: aload 0
aload 2
29: invokedynamic apply()Ljava/util/function/BiFunction;
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;)Ljava/lang/Object;
java/lang/Module.lambda$0(Ljava/lang/Module;Ljava/lang/Module;)Ljava/util/Map; (6)
(Ljava/lang/Module;Ljava/lang/Module;)Ljava/util/Map;
30: invokevirtual java.lang.WeakPairMap.computeIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
checkcast java.util.Map
31: astore 5
start local 5 32: iload 3
ifeq 35
33: aload 5
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: goto 36
35: StackMap locals: java.util.Map
StackMap stack:
aload 5
aload 1
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: StackMap locals:
StackMap stack:
return
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 37 0 this Ljava/lang/Module;
0 37 1 pn Ljava/lang/String;
0 37 2 other Ljava/lang/Module;
0 37 3 open Z
0 37 4 syncVM Z
6 15 5 needToAdd Z
8 13 6 l Ljdk/internal/module/IllegalAccessLogger;
32 37 5 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
MethodParameters:
Name Flags
pn
other
open
syncVM
void implAddOpensToAllUnnamed(java.util.Iterator<java.lang.String>);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Module system already initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.openPackages:Ljava/util/Map;
astore 2
start local 2 3: aload 2
ifnonnull 6
4: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
5: goto 13
6: StackMap locals: java.util.Map
StackMap stack:
new java.util.HashMap
dup
aload 2
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 2
7: goto 13
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 2
aload 3
getstatic java.lang.Module.ALL_UNNAMED_MODULE_SET:Ljava/util/Set;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 4
start local 4 10: aload 4
ifnull 12
11: aload 4
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals: java.lang.String java.util.Set
StackMap stack:
aload 0
aload 3
invokestatic java.lang.Module.addExportsToAllUnnamed0:(Ljava/lang/Module;Ljava/lang/String;)V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: aload 0
aload 2
putfield java.lang.Module.openPackages:Ljava/util/Map;
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/lang/Module;
0 16 1 iterator Ljava/util/Iterator<Ljava/lang/String;>;
3 16 2 openPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
9 13 3 pn Ljava/lang/String;
10 13 4 prev Ljava/util/Set<Ljava/lang/Module;>;
Signature: (Ljava/util/Iterator<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
iterator
public java.lang.Module addUses(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
invokevirtual java.lang.Module.isNamed:()Z
ifeq 6
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifne 6
2: aload 0
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
invokevirtual java.lang.Module.getCallerModule:(Ljava/lang/Class;)Ljava/lang/Module;
astore 2
start local 2 3: aload 2
aload 0
if_acmpeq 5
4: new java.lang.IllegalCallerException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Module
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Module.implAddUses:(Ljava/lang/Class;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/Module;
0 7 1 service Ljava/lang/Class<*>;
3 6 2 caller Ljava/lang/Module;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Module;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
service
void implAddUses(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Module.canUse:(Ljava/lang/Class;)Z
ifne 2
1: getstatic java.lang.Module$ReflectionData.uses:Ljava/lang/WeakPairMap;
aload 0
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.WeakPairMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Module;
0 3 1 service Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
service
public boolean canUse(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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
invokevirtual java.lang.Module.isNamed:()Z
ifne 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.uses:()Ljava/util/Set;
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
getstatic java.lang.Module$ReflectionData.uses:Ljava/lang/WeakPairMap;
aload 0
aload 1
invokevirtual java.lang.WeakPairMap.containsKeyPair:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/lang/Module;
0 8 1 service Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
service
public java.util.Set<java.lang.String> getPackages();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 2
1: aload 0
getfield java.lang.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
ifnonnull 5
3: invokestatic jdk.internal.loader.BootLoader.packages:()Ljava/util/stream/Stream;
astore 1
start local 1 4: goto 6
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
invokevirtual java.lang.ClassLoader.packages:()Ljava/util/stream/Stream;
astore 1
start local 1 6: StackMap locals: java.util.stream.Stream
StackMap stack:
aload 1
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/lang/Package.getName()Ljava/lang/String; (5)
(Ljava/lang/Package;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/Module;
4 5 1 packages Ljava/util/stream/Stream<Ljava/lang/Package;>;
6 7 1 packages Ljava/util/stream/Stream<Ljava/lang/Package;>;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
static java.util.Map<java.lang.String, java.lang.Module> defineModules(java.lang.module.Configuration, java.util.function.Function<java.lang.String, java.lang.ClassLoader>, java.lang.ModuleLayer);
descriptor: (Ljava/lang/module/Configuration;Ljava/util/function/Function;Ljava/lang/ModuleLayer;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=22, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
i2f
ldc 0.75
fdiv
fconst_1
fadd
f2i
istore 4
start local 4 4: new java.util.HashMap
dup
iload 4
invokespecial java.util.HashMap.<init>:(I)V
astore 5
start local 5 5: new java.util.HashMap
dup
iload 4
invokespecial java.util.HashMap.<init>:(I)V
astore 6
start local 6 6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 19
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
9: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 9
start local 9 10: aload 9
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 11
start local 11 11: aload 1
aload 11
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 12
start local 12 12: aload 6
aload 11
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 12
ifnull 14
aload 12
invokestatic jdk.internal.loader.ClassLoaders.platformClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 18
14: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.String java.lang.ClassLoader
StackMap stack:
aload 1
instanceof jdk.internal.module.ModuleLoaderMap$Mapper
ifne 16
15: new java.lang.IllegalArgumentException
dup
ldc "loader can't be 'null' or the platform class loader"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iconst_1
istore 8
17: goto 19
18: StackMap locals:
StackMap stack:
aload 7
aload 12
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 11 end local 9 19: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
20: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 32
StackMap locals:
StackMap stack:
21: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 9
start local 9 22: aload 9
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 11
start local 11 23: aload 11
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 12
start local 12 24: aload 12
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 13
start local 13 25: aload 6
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 14
start local 14 26: aload 14
ifnonnull 29
aload 13
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: ldc Ljava/lang/Object;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 15
start local 15 28: goto 31
end local 15 29: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.ClassLoader
StackMap stack:
aload 11
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URI
astore 16
start local 16 30: new java.lang.Module
dup
aload 2
aload 14
aload 12
aload 16
invokespecial java.lang.Module.<init>:(Ljava/lang/ModuleLayer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
astore 15
end local 16 start local 15 31: StackMap locals: java.lang.Module
StackMap stack:
aload 5
aload 13
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 end local 14 end local 13 end local 12 end local 11 end local 9 32: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
33: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 69
StackMap locals:
StackMap stack:
34: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 9
start local 9 35: aload 9
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 11
start local 11 36: aload 11
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 12
start local 12 37: aload 12
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 13
start local 13 38: aload 5
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 14
start local 14 39: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 40
aload 14
ifnonnull 40
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
40: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 15
start local 15 41: invokestatic java.util.Map.of:()Ljava/util/Map;
astore 16
start local 16 42: aload 9
invokevirtual java.lang.module.ResolvedModule.reads:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 18
goto 60
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
43: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 17
start local 17 44: aconst_null
astore 19
start local 19 45: aload 17
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
aload 0
if_acmpne 48
46: aload 5
aload 17
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 19
47: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 58
aload 19
ifnonnull 58
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
48: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map java.lang.module.ResolvedModule java.util.Iterator java.lang.Module
StackMap stack:
aload 2
invokevirtual java.lang.ModuleLayer.parents:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 21
goto 53
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map java.lang.module.ResolvedModule java.util.Iterator java.lang.Module top java.util.Iterator
StackMap stack:
49: aload 21
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ModuleLayer
astore 20
start local 20 50: aload 20
aload 17
invokestatic java.lang.Module.findModule:(Ljava/lang/ModuleLayer;Ljava/lang/module/ResolvedModule;)Ljava/lang/Module;
astore 19
51: aload 19
ifnull 53
52: goto 54
end local 20 53: StackMap locals:
StackMap stack:
aload 21
invokeinterface java.util.Iterator.hasNext:()Z
ifne 49
54: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map java.lang.module.ResolvedModule java.util.Iterator java.lang.Module
StackMap stack:
getstatic java.lang.Module.$assertionsDisabled:Z
ifne 55
aload 19
ifnonnull 55
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
55: StackMap locals:
StackMap stack:
aload 16
invokeinterface java.util.Map.isEmpty:()Z
ifeq 57
56: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 16
57: StackMap locals:
StackMap stack:
aload 16
aload 17
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
aload 19
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
58: StackMap locals:
StackMap stack:
aload 15
aload 19
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
59: aload 14
aload 19
invokestatic java.lang.Module.addReads0:(Ljava/lang/Module;Ljava/lang/Module;)V
end local 19 end local 17 60: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 43
61: aload 14
aload 15
putfield java.lang.Module.reads:Ljava/util/Set;
62: aload 12
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 64
63: aload 14
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
iconst_1
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
64: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.util.Set java.util.Map
StackMap stack:
aload 12
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 69
aload 12
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifne 69
65: iload 3
ifeq 68
aload 12
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 68
66: aload 14
aload 5
invokestatic java.lang.Module.initExports:(Ljava/lang/Module;Ljava/util/Map;)V
67: goto 69
68: StackMap locals:
StackMap stack:
aload 14
aload 16
aload 5
aload 2
invokevirtual java.lang.ModuleLayer.parents:()Ljava/util/List;
invokestatic java.lang.Module.initExportsAndOpens:(Ljava/lang/Module;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;)V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 9 69: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
70: iload 8
ifeq 88
71: invokestatic jdk.internal.loader.ClassLoaders.platformClassLoader:()Ljava/lang/ClassLoader;
astore 9
start local 9 72: invokestatic jdk.internal.loader.BootLoader.getServicesCatalog:()Ljdk/internal/module/ServicesCatalog;
astore 10
start local 10 73: aload 9
invokestatic jdk.internal.module.ServicesCatalog.getServicesCatalog:(Ljava/lang/ClassLoader;)Ljdk/internal/module/ServicesCatalog;
astore 11
start local 11 74: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 87
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.ClassLoader jdk.internal.module.ServicesCatalog jdk.internal.module.ServicesCatalog top java.util.Iterator
StackMap stack:
75: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 12
start local 12 76: aload 12
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 14
start local 14 77: aload 14
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 15
start local 15 78: aload 15
invokevirtual java.lang.module.ModuleDescriptor.provides:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 87
79: aload 15
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 16
start local 16 80: aload 5
aload 16
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 17
start local 17 81: aload 6
aload 16
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 18
start local 18 82: aload 18
ifnonnull 85
83: aload 10
aload 17
invokevirtual jdk.internal.module.ServicesCatalog.register:(Ljava/lang/Module;)V
84: goto 87
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.ClassLoader jdk.internal.module.ServicesCatalog jdk.internal.module.ServicesCatalog java.lang.module.ResolvedModule java.util.Iterator java.lang.module.ModuleReference java.lang.module.ModuleDescriptor java.lang.String java.lang.Module java.lang.ClassLoader
StackMap stack:
85: aload 18
aload 9
if_acmpne 87
86: aload 11
aload 17
invokevirtual jdk.internal.module.ServicesCatalog.register:(Ljava/lang/Module;)V
end local 18 end local 17 end local 16 end local 15 end local 14 end local 12 87: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int java.lang.ClassLoader jdk.internal.module.ServicesCatalog jdk.internal.module.ServicesCatalog top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 75
end local 11 end local 10 end local 9 88: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int
StackMap stack:
aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 91
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer int int java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
89: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 9
start local 9 90: aload 2
aload 9
invokevirtual java.lang.ModuleLayer.bindToLoader:(Ljava/lang/ClassLoader;)V
end local 9 91: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 89
92: aload 5
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 93 0 cf Ljava/lang/module/Configuration;
0 93 1 clf Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/ClassLoader;>;
0 93 2 layer Ljava/lang/ModuleLayer;
3 93 3 isBootLayer Z
4 93 4 cap I
5 93 5 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
6 93 6 nameToLoader Ljava/util/Map<Ljava/lang/String;Ljava/lang/ClassLoader;>;
7 93 7 loaders Ljava/util/Set<Ljava/lang/ClassLoader;>;
8 93 8 hasPlatformModules Z
10 19 9 resolvedModule Ljava/lang/module/ResolvedModule;
11 19 11 name Ljava/lang/String;
12 19 12 loader Ljava/lang/ClassLoader;
22 32 9 resolvedModule Ljava/lang/module/ResolvedModule;
23 32 11 mref Ljava/lang/module/ModuleReference;
24 32 12 descriptor Ljava/lang/module/ModuleDescriptor;
25 32 13 name Ljava/lang/String;
26 32 14 loader Ljava/lang/ClassLoader;
28 29 15 m Ljava/lang/Module;
31 32 15 m Ljava/lang/Module;
30 31 16 uri Ljava/net/URI;
35 69 9 resolvedModule Ljava/lang/module/ResolvedModule;
36 69 11 mref Ljava/lang/module/ModuleReference;
37 69 12 descriptor Ljava/lang/module/ModuleDescriptor;
38 69 13 mn Ljava/lang/String;
39 69 14 m Ljava/lang/Module;
41 69 15 reads Ljava/util/Set<Ljava/lang/Module;>;
42 69 16 nameToSource Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
44 60 17 other Ljava/lang/module/ResolvedModule;
45 60 19 m2 Ljava/lang/Module;
50 53 20 parent Ljava/lang/ModuleLayer;
72 88 9 pcl Ljava/lang/ClassLoader;
73 88 10 bootCatalog Ljdk/internal/module/ServicesCatalog;
74 88 11 pclCatalog Ljdk/internal/module/ServicesCatalog;
76 87 12 resolvedModule Ljava/lang/module/ResolvedModule;
77 87 14 mref Ljava/lang/module/ModuleReference;
78 87 15 descriptor Ljava/lang/module/ModuleDescriptor;
80 87 16 name Ljava/lang/String;
81 87 17 m Ljava/lang/Module;
82 87 18 loader Ljava/lang/ClassLoader;
90 91 9 loader Ljava/lang/ClassLoader;
Signature: (Ljava/lang/module/Configuration;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/ClassLoader;>;Ljava/lang/ModuleLayer;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
MethodParameters:
Name Flags
cf
clf
layer
private static java.lang.Module findModule(java.lang.ModuleLayer, java.lang.module.ResolvedModule);
descriptor: (Ljava/lang/ModuleLayer;Ljava/lang/module/ResolvedModule;)Ljava/lang/Module;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
invokevirtual java.lang.ModuleLayer.layers:()Ljava/util/stream/Stream;
3: 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
java/lang/Module.lambda$2(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;
4: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
5: aload 3
invokedynamic apply(Ljava/lang/String;)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/lang/Module.lambda$3(Ljava/lang/String;Ljava/lang/ModuleLayer;)Ljava/lang/Module; (6)
(Ljava/lang/ModuleLayer;)Ljava/lang/Module;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
6: aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
7: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 parent Ljava/lang/ModuleLayer;
0 8 1 resolvedModule Ljava/lang/module/ResolvedModule;
1 8 2 cf Ljava/lang/module/Configuration;
2 8 3 dn Ljava/lang/String;
MethodParameters:
Name Flags
parent
resolvedModule
private static void initExports(java.lang.Module, java.util.Map<java.lang.String, java.lang.Module>);
descriptor: (Ljava/lang/Module;Ljava/util/Map;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual java.lang.Module.getDescriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 18
StackMap locals: java.lang.Module java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Exports
astore 3
start local 3 3: aload 3
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
astore 5
start local 5 4: aload 3
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifeq 16
5: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 6: aload 3
invokevirtual java.lang.module.ModuleDescriptor$Exports.targets:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 12
StackMap locals: java.lang.Module java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
7: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 8: aload 1
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 9
start local 9 9: aload 9
ifnull 12
10: aload 0
aload 5
aload 9
invokestatic java.lang.Module.addExports0:(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
11: aload 6
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 7 12: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: aload 6
invokeinterface java.util.Set.isEmpty:()Z
ifne 18
14: aload 2
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 15: goto 18
16: StackMap locals: java.lang.Module java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String
StackMap stack:
aload 0
aload 5
invokestatic java.lang.Module.addExportsToAll0:(Ljava/lang/Module;Ljava/lang/String;)V
17: aload 2
aload 5
getstatic java.lang.Module.EVERYONE_SET:Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 3 18: StackMap locals: java.lang.Module java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
19: aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifne 21
20: aload 0
aload 2
putfield java.lang.Module.exportedPackages:Ljava/util/Map;
21: StackMap locals: java.lang.Module java.util.Map java.util.Map
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 m Ljava/lang/Module;
0 22 1 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
1 22 2 exportedPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
3 18 3 exports Ljava/lang/module/ModuleDescriptor$Exports;
4 18 5 source Ljava/lang/String;
6 15 6 targets Ljava/util/Set<Ljava/lang/Module;>;
8 12 7 target Ljava/lang/String;
9 12 9 m2 Ljava/lang/Module;
Signature: (Ljava/lang/Module;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;)V
MethodParameters:
Name Flags
m
nameToModule
private static void initExportsAndOpens(java.lang.Module, java.util.Map<java.lang.String, java.lang.Module>, java.util.Map<java.lang.String, java.lang.Module>, java.util.List<java.lang.ModuleLayer>);
descriptor: (Ljava/lang/Module;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.lang.Module.getDescriptor:()Ljava/lang/module/ModuleDescriptor;
astore 4
start local 4 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 3: aload 4
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 20
StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Opens
astore 7
start local 7 5: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.source:()Ljava/lang/String;
astore 9
start local 9 6: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.isQualified:()Z
ifeq 18
7: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 10
start local 10 8: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.targets:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 14
StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Opens java.util.Iterator java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
9: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 10: aload 11
aload 1
aload 2
aload 3
invokestatic java.lang.Module.findModule:(Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;)Ljava/lang/Module;
astore 13
start local 13 11: aload 13
ifnull 14
12: aload 0
aload 9
aload 13
invokestatic java.lang.Module.addExports0:(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
13: aload 10
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 11 14: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: aload 10
invokeinterface java.util.Set.isEmpty:()Z
ifne 20
16: aload 5
aload 9
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 17: goto 20
18: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Opens java.util.Iterator java.lang.String
StackMap stack:
aload 0
aload 9
invokestatic java.lang.Module.addExportsToAll0:(Ljava/lang/Module;Ljava/lang/String;)V
19: aload 5
aload 9
getstatic java.lang.Module.EVERYONE_SET:Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 7 20: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
21: aload 4
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 42
StackMap locals:
StackMap stack:
22: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Exports
astore 7
start local 7 23: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
astore 9
start local 9 24: aload 5
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 10
start local 10 25: aload 10
ifnull 27
aload 10
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 27
26: goto 42
27: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set
StackMap stack:
aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifeq 40
28: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 11
start local 11 29: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.targets:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 36
StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
30: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 31: aload 12
aload 1
aload 2
aload 3
invokestatic java.lang.Module.findModule:(Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;)Ljava/lang/Module;
astore 14
start local 14 32: aload 14
ifnull 36
33: aload 10
ifnull 34
aload 10
aload 14
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 36
34: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set java.util.Set java.lang.String java.util.Iterator java.lang.Module
StackMap stack:
aload 0
aload 9
aload 14
invokestatic java.lang.Module.addExports0:(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
35: aload 11
aload 14
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 12 36: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
37: aload 11
invokeinterface java.util.Set.isEmpty:()Z
ifne 42
38: aload 6
aload 9
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 39: goto 42
40: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map java.lang.module.ModuleDescriptor$Exports java.util.Iterator java.lang.String java.util.Set
StackMap stack:
aload 0
aload 9
invokestatic java.lang.Module.addExportsToAll0:(Ljava/lang/Module;Ljava/lang/String;)V
41: aload 6
aload 9
getstatic java.lang.Module.EVERYONE_SET:Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 7 42: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
43: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifne 45
44: aload 0
aload 5
putfield java.lang.Module.openPackages:Ljava/util/Map;
45: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor java.util.Map java.util.Map
StackMap stack:
aload 6
invokeinterface java.util.Map.isEmpty:()Z
ifne 47
46: aload 0
aload 6
putfield java.lang.Module.exportedPackages:Ljava/util/Map;
47: StackMap locals:
StackMap stack:
return
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 48 0 m Ljava/lang/Module;
0 48 1 nameToSource Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 48 2 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 48 3 parents Ljava/util/List<Ljava/lang/ModuleLayer;>;
1 48 4 descriptor Ljava/lang/module/ModuleDescriptor;
2 48 5 openPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
3 48 6 exportedPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
5 20 7 opens Ljava/lang/module/ModuleDescriptor$Opens;
6 20 9 source Ljava/lang/String;
8 17 10 targets Ljava/util/Set<Ljava/lang/Module;>;
10 14 11 target Ljava/lang/String;
11 14 13 m2 Ljava/lang/Module;
23 42 7 exports Ljava/lang/module/ModuleDescriptor$Exports;
24 42 9 source Ljava/lang/String;
25 42 10 openToTargets Ljava/util/Set<Ljava/lang/Module;>;
29 39 11 targets Ljava/util/Set<Ljava/lang/Module;>;
31 36 12 target Ljava/lang/String;
32 36 14 m2 Ljava/lang/Module;
Signature: (Ljava/lang/Module;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;Ljava/util/List<Ljava/lang/ModuleLayer;>;)V
MethodParameters:
Name Flags
m
nameToSource
nameToModule
parents
private static java.lang.Module findModule(java.lang.String, java.util.Map<java.lang.String, java.lang.Module>, java.util.Map<java.lang.String, java.lang.Module>, java.util.List<java.lang.ModuleLayer>);
descriptor: (Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;)Ljava/lang/Module;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: