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 static final java.lang.WeakPairMap<java.lang.Module, java.lang.Module, java.lang.Boolean> reflectivelyReads;
descriptor: Ljava/lang/WeakPairMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/WeakPairMap<Ljava/lang/Module;Ljava/lang/Module;Ljava/lang/Boolean;>;
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 static final java.lang.WeakPairMap<java.lang.Module, java.lang.Module, java.util.Map<java.lang.String, java.lang.Boolean>> reflectivelyExports;
descriptor: Ljava/lang/WeakPairMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/WeakPairMap<Ljava/lang/Module;Ljava/lang/Module;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;>;
private static final java.lang.WeakPairMap<java.lang.Module, java.lang.Class<?>, java.lang.Boolean> reflectivelyUses;
descriptor: Ljava/lang/WeakPairMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/WeakPairMap<Ljava/lang/Module;Ljava/lang/Class<*>;Ljava/lang/Boolean;>;
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;
7: new java.lang.WeakPairMap
dup
invokespecial java.lang.WeakPairMap.<init>:()V
8: putstatic java.lang.Module.reflectivelyReads:Ljava/lang/WeakPairMap;
9: new java.lang.WeakPairMap
dup
invokespecial java.lang.WeakPairMap.<init>:()V
putstatic java.lang.Module.reflectivelyExports:Ljava/lang/WeakPairMap;
10: new java.lang.WeakPairMap
dup
invokespecial java.lang.WeakPairMap.<init>:()V
11: putstatic java.lang.Module.reflectivelyUses:Ljava/lang/WeakPairMap;
12: 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
istore 5
start local 5 6: 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 7: aload 6
aconst_null
invokestatic java.util.Objects.toString:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 8: aload 4
aconst_null
invokestatic java.util.Objects.toString:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 9: 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 10: 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
11: 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 12 0 this Ljava/lang/Module;
0 12 1 layer Ljava/lang/ModuleLayer;
0 12 2 loader Ljava/lang/ClassLoader;
0 12 3 descriptor Ljava/lang/module/ModuleDescriptor;
0 12 4 uri Ljava/net/URI;
6 12 5 isOpen Z
7 12 6 version Ljava/lang/module/ModuleDescriptor$Version;
8 12 7 vs Ljava/lang/String;
9 12 8 loc Ljava/lang/String;
10 12 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.reflectivelyReads: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.reflectivelyReads: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.reflectivelyReads: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.reflectivelyExports: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.reflectivelyExports: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.reflectivelyExports: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.reflectivelyExports: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.reflectivelyUses: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.reflectivelyUses: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=20, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 15
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 7
start local 7 6: aload 7
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
astore 9
start local 9 7: aload 1
aload 9
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 10
start local 10 8: aload 4
aload 9
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 10
ifnull 10
aload 10
invokestatic jdk.internal.loader.ClassLoaders.platformClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 14
10: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 12
11: 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
12: StackMap locals:
StackMap stack:
iconst_1
istore 6
13: goto 15
14: StackMap locals:
StackMap stack:
aload 5
aload 10
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 7 15: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
16: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 29
StackMap locals:
StackMap stack:
17: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 7
start local 7 18: aload 7
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 9
start local 9 19: aload 9
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 10
start local 10 20: aload 10
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 11
start local 11 21: aload 9
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 12
start local 12 22: aload 4
aload 7
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 13
start local 13 23: aload 13
ifnonnull 26
aload 11
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: ldc Ljava/lang/Object;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 14
start local 14 25: goto 27
end local 14 26: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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.net.URI java.lang.ClassLoader
StackMap stack:
new java.lang.Module
dup
aload 2
aload 13
aload 10
aload 12
invokespecial java.lang.Module.<init>:(Ljava/lang/ModuleLayer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
astore 14
start local 14 27: StackMap locals: java.lang.Module
StackMap stack:
aload 3
aload 11
aload 14
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: aload 4
aload 11
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 7 29: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
30: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 62
StackMap locals:
StackMap stack:
31: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 7
start local 7 32: aload 7
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 9
start local 9 33: aload 9
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 10
start local 10 34: aload 10
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 11
start local 11 35: aload 3
aload 11
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 12
start local 12 36: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 37
aload 12
ifnonnull 37
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
37: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 13
start local 13 38: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
astore 14
start local 14 39: aload 7
invokevirtual java.lang.module.ResolvedModule.reads:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 16
goto 57
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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:
40: aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 15
start local 15 41: aconst_null
astore 17
start local 17 42: aload 15
invokevirtual java.lang.module.ResolvedModule.configuration:()Ljava/lang/module/Configuration;
aload 0
if_acmpne 45
43: aload 3
aload 15
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 17
44: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 55
aload 17
ifnonnull 55
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
45: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 19
goto 50
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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:
46: aload 19
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ModuleLayer
astore 18
start local 18 47: aload 18
aload 15
invokestatic java.lang.Module.findModule:(Ljava/lang/ModuleLayer;Ljava/lang/module/ResolvedModule;)Ljava/lang/Module;
astore 17
48: aload 17
ifnull 50
49: goto 51
end local 18 50: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
51: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 52
aload 17
ifnonnull 52
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
52: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Map.isEmpty:()Z
ifeq 54
53: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 14
54: StackMap locals:
StackMap stack:
aload 14
aload 15
invokevirtual java.lang.module.ResolvedModule.name:()Ljava/lang/String;
aload 17
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
55: StackMap locals:
StackMap stack:
aload 13
aload 17
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
56: aload 12
aload 17
invokestatic java.lang.Module.addReads0:(Ljava/lang/Module;Ljava/lang/Module;)V
end local 17 end local 15 57: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 40
58: aload 12
aload 13
putfield java.lang.Module.reads:Ljava/util/Set;
59: aload 10
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 61
60: aload 12
getstatic java.lang.Module.ALL_UNNAMED_MODULE:Ljava/lang/Module;
iconst_1
invokevirtual java.lang.Module.implAddReads:(Ljava/lang/Module;Z)V
61: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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
aload 14
aload 3
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 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 7 62: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
63: iload 6
ifeq 81
64: invokestatic jdk.internal.loader.ClassLoaders.platformClassLoader:()Ljava/lang/ClassLoader;
astore 7
start local 7 65: invokestatic jdk.internal.loader.BootLoader.getServicesCatalog:()Ljdk/internal/module/ServicesCatalog;
astore 8
start local 8 66: aload 7
invokestatic jdk.internal.module.ServicesCatalog.getServicesCatalog:(Ljava/lang/ClassLoader;)Ljdk/internal/module/ServicesCatalog;
astore 9
start local 9 67: aload 0
invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 80
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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:
68: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ResolvedModule
astore 10
start local 10 69: aload 10
invokevirtual java.lang.module.ResolvedModule.reference:()Ljava/lang/module/ModuleReference;
astore 12
start local 12 70: aload 12
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 13
start local 13 71: aload 13
invokevirtual java.lang.module.ModuleDescriptor.provides:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 80
72: aload 13
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 14
start local 14 73: aload 3
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 15
start local 15 74: aload 4
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 16
start local 16 75: aload 16
ifnonnull 78
76: aload 8
aload 15
invokevirtual jdk.internal.module.ServicesCatalog.register:(Ljava/lang/Module;)V
77: goto 80
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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:
78: aload 16
aload 7
if_acmpne 80
79: aload 9
aload 15
invokevirtual jdk.internal.module.ServicesCatalog.register:(Ljava/lang/Module;)V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 10 80: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer 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 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 68
end local 9 end local 8 end local 7 81: StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int
StackMap stack:
aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 84
StackMap locals: java.lang.module.Configuration java.util.function.Function java.lang.ModuleLayer java.util.Map java.util.Map java.util.Set int top java.util.Iterator
StackMap stack:
82: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 7
start local 7 83: aload 2
aload 7
invokevirtual java.lang.ModuleLayer.bindToLoader:(Ljava/lang/ClassLoader;)V
end local 7 84: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 82
85: aload 3
areturn
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 86 0 cf Ljava/lang/module/Configuration;
0 86 1 clf Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/ClassLoader;>;
0 86 2 layer Ljava/lang/ModuleLayer;
1 86 3 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
2 86 4 moduleToLoader Ljava/util/Map<Ljava/lang/String;Ljava/lang/ClassLoader;>;
3 86 5 loaders Ljava/util/Set<Ljava/lang/ClassLoader;>;
4 86 6 hasPlatformModules Z
6 15 7 resolvedModule Ljava/lang/module/ResolvedModule;
7 15 9 name Ljava/lang/String;
8 15 10 loader Ljava/lang/ClassLoader;
18 29 7 resolvedModule Ljava/lang/module/ResolvedModule;
19 29 9 mref Ljava/lang/module/ModuleReference;
20 29 10 descriptor Ljava/lang/module/ModuleDescriptor;
21 29 11 name Ljava/lang/String;
22 29 12 uri Ljava/net/URI;
23 29 13 loader Ljava/lang/ClassLoader;
25 26 14 m Ljava/lang/Module;
27 29 14 m Ljava/lang/Module;
32 62 7 resolvedModule Ljava/lang/module/ResolvedModule;
33 62 9 mref Ljava/lang/module/ModuleReference;
34 62 10 descriptor Ljava/lang/module/ModuleDescriptor;
35 62 11 mn Ljava/lang/String;
36 62 12 m Ljava/lang/Module;
38 62 13 reads Ljava/util/Set<Ljava/lang/Module;>;
39 62 14 nameToSource Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
41 57 15 other Ljava/lang/module/ResolvedModule;
42 57 17 m2 Ljava/lang/Module;
47 50 18 parent Ljava/lang/ModuleLayer;
65 81 7 pcl Ljava/lang/ClassLoader;
66 81 8 bootCatalog Ljdk/internal/module/ServicesCatalog;
67 81 9 pclCatalog Ljdk/internal/module/ServicesCatalog;
69 80 10 resolvedModule Ljava/lang/module/ResolvedModule;
70 80 12 mref Ljava/lang/module/ModuleReference;
71 80 13 descriptor Ljava/lang/module/ModuleDescriptor;
73 80 14 name Ljava/lang/String;
74 80 15 m Ljava/lang/Module;
75 80 16 loader Ljava/lang/ClassLoader;
83 84 7 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 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: aload 4
invokevirtual java.lang.module.ModuleDescriptor.isOpen:()Z
ifne 2
aload 4
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 8
2: StackMap locals: java.lang.module.ModuleDescriptor
StackMap stack:
getstatic java.lang.Module.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 0
aload 5
invokestatic java.lang.Module.addExportsToAll0:(Ljava/lang/Module;Ljava/lang/String;)V
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
8: StackMap locals: java.lang.Module java.util.Map java.util.Map java.util.List java.lang.module.ModuleDescriptor
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 9: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 10: aload 4
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 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 top java.util.Iterator
StackMap stack:
11: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Opens
astore 7
start local 7 12: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.source:()Ljava/lang/String;
astore 9
start local 9 13: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.isQualified:()Z
ifeq 25
14: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 10
start local 10 15: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Opens.targets:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 21
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:
16: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 17: 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 18: aload 13
ifnull 21
19: aload 0
aload 9
aload 13
invokestatic java.lang.Module.addExports0:(Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
20: aload 10
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 11 21: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
22: aload 10
invokeinterface java.util.Set.isEmpty:()Z
ifne 27
23: aload 5
aload 9
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 24: goto 27
25: 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
26: 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 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 top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
28: aload 4
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 49
StackMap locals:
StackMap stack:
29: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Exports
astore 7
start local 7 30: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
astore 9
start local 9 31: aload 5
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 10
start local 10 32: aload 10
ifnull 34
aload 10
getstatic java.lang.Module.EVERYONE_MODULE:Ljava/lang/Module;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 34
33: goto 49
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
StackMap stack:
aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifeq 47
35: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 11
start local 11 36: aload 7
invokevirtual java.lang.module.ModuleDescriptor$Exports.targets:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 43
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:
37: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 38: 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 39: aload 14
ifnull 43
40: aload 10
ifnull 41
aload 10
aload 14
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 43
41: 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
42: aload 11
aload 14
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 12 43: 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 37
44: aload 11
invokeinterface java.util.Set.isEmpty:()Z
ifne 49
45: aload 6
aload 9
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 46: goto 49
47: 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
48: 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 49: 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 29
50: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifne 52
51: aload 0
aload 5
putfield java.lang.Module.openPackages:Ljava/util/Map;
52: 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 54
53: aload 0
aload 6
putfield java.lang.Module.exportedPackages:Ljava/util/Map;
54: 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 55 0 m Ljava/lang/Module;
0 55 1 nameToSource Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 55 2 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 55 3 parents Ljava/util/List<Ljava/lang/ModuleLayer;>;
1 55 4 descriptor Ljava/lang/module/ModuleDescriptor;
5 6 5 source Ljava/lang/String;
9 55 5 openPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
10 55 6 exportedPackages Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/Module;>;>;
12 27 7 opens Ljava/lang/module/ModuleDescriptor$Opens;
13 27 9 source Ljava/lang/String;
15 24 10 targets Ljava/util/Set<Ljava/lang/Module;>;
17 21 11 target Ljava/lang/String;
18 21 13 m2 Ljava/lang/Module;
30 49 7 exports Ljava/lang/module/ModuleDescriptor$Exports;
31 49 9 source Ljava/lang/String;
32 49 10 openToTargets Ljava/util/Set<Ljava/lang/Module;>;
36 46 11 targets Ljava/util/Set<Ljava/lang/Module;>;
38 43 12 target Ljava/lang/String;
39 43 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: aload 1
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 4
start local 4 1: aload 4
ifnonnull 9
2: aload 2
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 4
3: aload 4
ifnonnull 9
4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: java.lang.String java.util.Map java.util.Map java.util.List java.lang.Module top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ModuleLayer
astore 5
start local 5 6: aload 5
aload 0
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Module
astore 4
7: aload 4
ifnull 8
goto 9
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: StackMap locals: java.lang.String java.util.Map java.util.Map java.util.List java.lang.Module
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 10 0 target Ljava/lang/String;
0 10 1 nameToSource Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 10 2 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;
0 10 3 parents Ljava/util/List<Ljava/lang/ModuleLayer;>;
1 10 4 m Ljava/lang/Module;
6 8 5 parent Ljava/lang/ModuleLayer;
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Module;>;Ljava/util/List<Ljava/lang/ModuleLayer;>;)Ljava/lang/Module;
MethodParameters:
Name Flags
target
nameToSource
nameToModule
parents
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Module.moduleInfoClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.getDeclaredAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
0 1 1 annotationClass Ljava/lang/Class<TT;>;
Signature: <T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
annotationClass
public java.lang.annotation.Annotation[] getAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Module.moduleInfoClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
public java.lang.annotation.Annotation[] getDeclaredAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Module.moduleInfoClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Module;
private java.lang.Class<?> moduleInfoClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.lang.Module.moduleInfoClass:Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
dup
astore 2
monitorenter
4: aload 0
getfield java.lang.Module.moduleInfoClass:Ljava/lang/Class;
astore 1
5: aload 1
ifnonnull 12
6: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 9
7: aload 0
invokedynamic run(Ljava/lang/Module;)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;
java/lang/Module.loadModuleInfoClass()Ljava/lang/Class; (7)
()Ljava/lang/Class;
astore 3
start local 3 8: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Class
astore 1
end local 3 9: StackMap locals: java.lang.Module
StackMap stack:
aload 1
ifnonnull 11
10: ldc Ljava/lang/Module$1DummyModuleInfo;
astore 1
11: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.lang.Module.moduleInfoClass:Ljava/lang/Class;
12: StackMap locals:
StackMap stack:
aload 1
aload 2
monitorexit
13: areturn
14: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
15: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/lang/Module;
1 16 1 clazz Ljava/lang/Class<*>;
8 9 3 pa Ljava/security/PrivilegedAction<Ljava/lang/Class<*>;>;
Exception table:
from to target type
4 13 14 any
14 15 14 any
Signature: ()Ljava/lang/Class<*>;
private java.lang.Class<?> loadModuleInfoClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: aload 0
ldc "module-info.class"
invokevirtual java.lang.Module.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 0
aload 4
invokevirtual java.lang.Module.loadModuleInfoClass:(Ljava/io/InputStream;)Ljava/lang/Class;
astore 1
5: StackMap locals: java.lang.Module java.lang.Class java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aload 4
ifnull 12
aload 4
invokevirtual java.io.InputStream.close:()V
goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 4
ifnull 7
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
7: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals: java.lang.Module java.lang.Class
StackMap stack: java.lang.Exception
11: pop
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/lang/Module;
1 13 1 clazz Ljava/lang/Class<*>;
3 7 4 in Ljava/io/InputStream;
Exception table:
from to target type
3 5 6 any
2 8 8 any
1 11 11 Class java.lang.Exception
Signature: ()Ljava/lang/Class<*>;
private java.lang.Class<?> loadModuleInfoClass(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: new jdk.internal.org.objectweb.asm.ClassWriter
dup
iconst_3
invokespecial jdk.internal.org.objectweb.asm.ClassWriter.<init>:(I)V
astore 2
start local 2 1: new java.lang.Module$1
dup
aload 0
ldc 327680
aload 2
aload 2
invokespecial java.lang.Module$1.<init>:(Ljava/lang/Module;ILjdk/internal/org/objectweb/asm/ClassVisitor;Ljdk/internal/org/objectweb/asm/ClassWriter;)V
astore 3
start local 3 2: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:(Ljava/io/InputStream;)V
astore 4
start local 4 3: aload 4
aload 3
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.accept:(Ljdk/internal/org/objectweb/asm/ClassVisitor;I)V
4: aload 2
invokevirtual jdk.internal.org.objectweb.asm.ClassWriter.toByteArray:()[B
astore 5
start local 5 5: new java.lang.Module$2
dup
aload 0
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
aload 5
invokespecial java.lang.Module$2.<init>:(Ljava/lang/Module;Ljava/lang/ClassLoader;[B)V
astore 6
start local 6 6: aload 6
ldc "module-info"
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
7: areturn
8: StackMap locals: java.lang.Module java.io.InputStream jdk.internal.org.objectweb.asm.ClassWriter jdk.internal.org.objectweb.asm.ClassVisitor jdk.internal.org.objectweb.asm.ClassReader byte[] java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
astore 7
start local 7 9: new java.lang.InternalError
dup
aload 7
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
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 10 0 this Ljava/lang/Module;
0 10 1 in Ljava/io/InputStream;
1 10 2 cw Ljdk/internal/org/objectweb/asm/ClassWriter;
2 10 3 cv Ljdk/internal/org/objectweb/asm/ClassVisitor;
3 10 4 cr Ljdk/internal/org/objectweb/asm/ClassReader;
5 10 5 bytes [B
6 10 6 cl Ljava/lang/ClassLoader;
9 10 7 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
6 7 8 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/InputStream;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
in
public java.io.InputStream getResourceAsStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 11
aload 1
invokestatic jdk.internal.module.Resources.canEncapsulate:(Ljava/lang/String;)Z
ifeq 11
3: 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 4: aload 2
aload 0
if_acmpeq 11
aload 2
ldc Ljava/lang/Object;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
if_acmpeq 11
5: aload 1
invokestatic jdk.internal.module.Resources.toPackageName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 6: aload 0
invokevirtual java.lang.Module.getPackages:()Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
7: aload 2
ifnonnull 9
aload 0
aload 3
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;)Z
ifne 9
8: aconst_null
areturn
9: StackMap locals: java.lang.Module java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifne 11
10: aconst_null
areturn
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.name:Ljava/lang/String;
astore 2
start local 2 12: aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
ifnonnull 14
13: aload 2
aload 1
invokestatic jdk.internal.loader.BootLoader.findResourceAsStream:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;
areturn
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
instanceof jdk.internal.loader.BuiltinClassLoader
ifeq 16
15: aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
checkcast jdk.internal.loader.BuiltinClassLoader
aload 2
aload 1
invokevirtual jdk.internal.loader.BuiltinClassLoader.findResourceAsStream:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;
areturn
16: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.Module.loader:Ljava/lang/ClassLoader;
aload 2
aload 1
invokevirtual java.lang.ClassLoader.findResource:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 17: aload 3
ifnull 21
18: aload 3
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
19: areturn
20: StackMap locals: java.lang.Module java.lang.String java.lang.String java.net.URL
StackMap stack: java.lang.SecurityException
pop
21: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/lang/Module;
0 22 1 name Ljava/lang/String;
4 11 2 caller Ljava/lang/Module;
6 11 3 pn Ljava/lang/String;
12 22 2 mn Ljava/lang/String;
17 22 3 url Ljava/net/URL;
Exception table:
from to target type
18 19 20 Class java.lang.SecurityException
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Module.isNamed:()Z
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "module "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.lang.Module.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 1
start local 1 3: new java.lang.StringBuilder
dup
ldc "unnamed module @"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/Module;
3 4 1 id Ljava/lang/String;
private java.lang.Module getCallerModule(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Module;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Module
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Module;
0 3 1 caller Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Module;
MethodParameters:
Name Flags
caller
private static native void defineModule0(java.lang.Module, boolean, java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Module;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
module
isOpen
version
location
pns
private static native void addReads0(java.lang.Module, java.lang.Module);
descriptor: (Ljava/lang/Module;Ljava/lang/Module;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
from
to
private static native void addExports0(java.lang.Module, java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/Module;Ljava/lang/String;Ljava/lang/Module;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
from
pn
to
private static native void addExportsToAll0(java.lang.Module, java.lang.String);
descriptor: (Ljava/lang/Module;Ljava/lang/String;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
from
pn
private static native void addExportsToAllUnnamed0(java.lang.Module, java.lang.String);
descriptor: (Ljava/lang/Module;Ljava/lang/String;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
from
pn
private static java.util.Map lambda$0(java.lang.Module, java.lang.Module);
descriptor: (Ljava/lang/Module;Ljava/lang/Module;)Ljava/util/Map;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m1 Ljava/lang/Module;
0 1 1 m2 Ljava/lang/Module;
private static boolean lambda$2(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 static java.lang.Module lambda$3(java.lang.String, java.lang.ModuleLayer);
descriptor: (Ljava/lang/String;Ljava/lang/ModuleLayer;)Ljava/lang/Module;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=2
start local 1 0: aload 1
aload 0
invokevirtual java.lang.ModuleLayer.findModule:(Ljava/lang/String;)Ljava/util/Optional;
astore 2
start local 2 1: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not found in layer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: java.util.Optional
StackMap stack:
aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Module
astore 3
start local 3 3: getstatic java.lang.Module.$assertionsDisabled:Z
ifne 4
aload 3
invokevirtual java.lang.Module.getLayer:()Ljava/lang/ModuleLayer;
aload 1
if_acmpeq 4
new java.lang.AssertionError
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 " not in expected layer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: java.lang.Module
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 layer Ljava/lang/ModuleLayer;
1 5 2 om Ljava/util/Optional<Ljava/lang/Module;>;
3 5 3 m Ljava/lang/Module;
}
SourceFile: "Module.java"
NestMembers:
java.lang.Module$1 java.lang.Module$1DummyModuleInfo java.lang.Module$2
InnerClasses:
java.lang.Module$1
DummyModuleInfo = java.lang.Module$1DummyModuleInfo
java.lang.Module$2
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
public final Provides = java.lang.module.ModuleDescriptor$Provides of java.lang.module.ModuleDescriptor
public final Version = java.lang.module.ModuleDescriptor$Version of java.lang.module.ModuleDescriptor
public final Mapper = jdk.internal.module.ModuleLoaderMap$Mapper of jdk.internal.module.ModuleLoaderMap