public final class jdk.vm.ci.services.internal.ReflectionAccessJDK
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.services.internal.ReflectionAccessJDK
super_class: java.lang.Object
{
private static final java.lang.reflect.Method getModule;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method addOpens;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method getPackages;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method isOpenTo;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: ldc Ljava/lang/Class;
ldc "getModule"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getModule:Ljava/lang/reflect/Method;
1: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getModule:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 0
start local 0 2: aload 0
ldc "getPackages"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getPackages:Ljava/lang/reflect/Method;
3: aload 0
ldc "isOpen"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.isOpenTo:Ljava/lang/reflect/Method;
4: aload 0
ldc "addOpens"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.addOpens:Ljava/lang/reflect/Method;
end local 0 5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 0
start local 0 7: new java.lang.InternalError
dup
aload 0
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 moduleClass Ljava/lang/Class<*>;
7 8 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.NoSuchMethodException
0 5 6 Class java.lang.SecurityException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/vm/ci/services/internal/ReflectionAccessJDK;
public static void openJVMCITo(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getModule:Ljava/lang/reflect/Method;
ldc Ljdk/vm/ci/services/Services;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getModule:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 1
aload 2
if_acmpeq 13
3: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.getPackages:Ljava/lang/reflect/Method;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 3
start local 3 4: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: java.lang.Class java.lang.Object java.lang.Object java.util.Set top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.isOpenTo:Ljava/lang/reflect/Method;
aload 1
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 6
start local 6 7: iload 6
ifne 9
8: getstatic jdk.vm.ci.services.internal.ReflectionAccessJDK.addOpens:Ljava/lang/reflect/Method;
aload 1
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 end local 2 end local 1 10: goto 13
StackMap locals: java.lang.Class
StackMap stack: java.lang.Exception
11: astore 1
start local 1 12: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 other Ljava/lang/Class<*>;
1 10 1 jvmci Ljava/lang/Object;
2 10 2 otherModule Ljava/lang/Object;
4 10 3 packages Ljava/util/Set<Ljava/lang/String;>;
6 9 4 pkg Ljava/lang/String;
7 9 6 opened Z
12 13 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 10 11 Class java.lang.Exception
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
other
}
SourceFile: "ReflectionAccessJDK.java"