public class org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest extends org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest
super_class: org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
{
private static final java.lang.Class<?>[] classesWithInternalFields;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static final java.lang.reflect.Method createFieldMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Field indexField;
descriptor: Ljava/lang/reflect/Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=0
0: iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
ldc Ljava/lang/ClassLoader;
aastore
putstatic org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.classesWithInternalFields:[Ljava/lang/Class;
1: aconst_null
astore 0
start local 0 2: aconst_null
astore 1
start local 1 3: ldc "jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 4: aload 2
ldc "createField"
iconst_4
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/vm/ci/meta/JavaType;
aastore
dup
iconst_1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
dup
iconst_2
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_3
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
5: aload 0
iconst_1
invokestatic org.graalvm.compiler.core.common.util.Util.setAccessible:(Ljava/lang/reflect/Executable;Z)V
6: ldc "jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 7: aload 3
ldc "index"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 1
8: aload 1
iconst_1
invokestatic org.graalvm.compiler.core.common.util.Util.setAccessible:(Ljava/lang/reflect/Field;Z)V
end local 3 end local 2 9: goto 12
StackMap locals: java.lang.reflect.Method java.lang.reflect.Field
StackMap stack: java.lang.Exception
10: astore 2
start local 2 11: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 12: StackMap locals:
StackMap stack:
aload 0
putstatic org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.createFieldMethod:Ljava/lang/reflect/Method;
13: aload 1
putstatic org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.indexField:Ljava/lang/reflect/Field;
end local 1 end local 0 14: return
LocalVariableTable:
Start End Slot Name Signature
2 14 0 m Ljava/lang/reflect/Method;
3 14 1 f Ljava/lang/reflect/Field;
4 9 2 typeImpl Ljava/lang/Class<*>;
7 9 3 fieldImpl Ljava/lang/Class<*>;
11 12 2 e Ljava/lang/Exception;
Exception table:
from to target type
3 9 10 Class java.lang.Exception
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
private int jvmFieldModifiers();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.runtime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 1
start local 1 1: new jdk.vm.ci.hotspot.HotSpotVMConfigAccess
dup
aload 1
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.getStore:()Ljdk/vm/ci/hotspot/HotSpotVMConfigStore;
invokespecial jdk.vm.ci.hotspot.HotSpotVMConfigAccess.<init>:(Ljdk/vm/ci/hotspot/HotSpotVMConfigStore;)V
astore 2
start local 2 2: aload 2
ldc "JVM_ACC_ENUM"
ldc Ljava/lang/Integer;
sipush 16384
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual jdk.vm.ci.hotspot.HotSpotVMConfigAccess.getConstant:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 3: aload 2
ldc "JVM_ACC_SYNTHETIC"
ldc Ljava/lang/Integer;
sipush 4096
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual jdk.vm.ci.hotspot.HotSpotVMConfigAccess.getConstant:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 4: sipush 223
iload 3
ior
iload 4
ior
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
1 5 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2 5 2 access Ljdk/vm/ci/hotspot/HotSpotVMConfigAccess;
3 5 3 accEnum I
4 5 4 accSynthetic I
public void testModifiersForInternal();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
RuntimeInvisibleAnnotations:
Test()
public void testEquivalenceForInternalFields();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
Exceptions:
throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
RuntimeInvisibleAnnotations:
Test()
public void testIsInObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "HotSpotResolvedJavaFieldTest.java"