final class jdk.nashorn.internal.scripts.ModuleGraphManipulator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.scripts.ModuleGraphManipulator
super_class: java.lang.Object
{
private static final java.lang.Module MY_MODULE;
descriptor: Ljava/lang/Module;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String MY_PKG_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: ldc Ljdk/nashorn/internal/scripts/ModuleGraphManipulator;
astore 0
start local 0 1: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
putstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
2: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
iconst_0
aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
4: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 2
start local 2 5: getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
aload 2
if_acmpne 7
6: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " loaded by wrong loader!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Class java.lang.String java.lang.Module
StackMap stack:
getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
aload 2
invokevirtual java.lang.Module.addOpens:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
pop
end local 2 end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 myClass Ljava/lang/Class<*>;
3 8 1 myName Ljava/lang/String;
5 8 2 nashornModule Ljava/lang/Module;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/scripts/ModuleGraphManipulator;
private static void addExport(java.lang.Module);
descriptor: (Ljava/lang/Module;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_MODULE:Ljava/lang/Module;
getstatic jdk.nashorn.internal.scripts.ModuleGraphManipulator.MY_PKG_NAME:Ljava/lang/String;
aload 0
invokevirtual java.lang.Module.addExports:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 otherMod Ljava/lang/Module;
MethodParameters:
Name Flags
otherMod final
}
SourceFile: "ModuleGraphManipulator.java"