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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, 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: ldc "jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 3: aload 1
ldc "createField"
iconst_4
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljdk/vm/ci/meta/JavaType;
aastore
dup
iconst_2
getstatic java.lang.Long.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
4: aload 0
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
end local 1 5: goto 8
StackMap locals: java.lang.reflect.Method
StackMap stack: java.lang.Exception
6: astore 1
start local 1 7: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 8: StackMap locals:
StackMap stack:
aload 0
putstatic org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.createFieldMethod:Ljava/lang/reflect/Method;
end local 0 9: return
LocalVariableTable:
Start End Slot Name Signature
2 9 0 ret Ljava/lang/reflect/Method;
3 5 1 typeImpl Ljava/lang/Class<*>;
7 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.lang.ClassNotFoundException
2 5 6 Class java.lang.NoSuchMethodException
2 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 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=4, 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: aload 1
ldc "JVM_ACC_ENUM"
ldc Ljava/lang/Integer;
sipush 16384
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.getConstant:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 2: aload 1
ldc "JVM_ACC_SYNTHETIC"
ldc Ljava/lang/Integer;
sipush 4096
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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: sipush 223
iload 2
ior
iload 3
ior
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotResolvedJavaFieldTest;
1 4 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2 4 2 accEnum I
3 4 3 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 testCachingForInternalFields();
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\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"