public class org.graalvm.compiler.hotspot.test.ExplicitExceptionTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.ExplicitExceptionTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private int expectedForeignCallCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ExplicitExceptionTest;
private static boolean exceptionWasSeen(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getProfilingInfo:()Ljdk/vm/ci/meta/ProfilingInfo;
astore 1
start local 1 1: aload 1
ifnull 8
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: jdk.vm.ci.meta.ProfilingInfo int
StackMap stack:
aload 1
iload 2
invokeinterface jdk.vm.ci.meta.ProfilingInfo.getExceptionSeen:(I)Ljdk/vm/ci/meta/TriState;
getstatic jdk.vm.ci.meta.TriState.TRUE:Ljdk/vm/ci/meta/TriState;
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 1
invokeinterface jdk.vm.ci.meta.ProfilingInfo.getCodeSize:()I
if_icmplt 4
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
1 9 1 profilingInfo Ljdk/vm/ci/meta/ProfilingInfo;
3 8 2 i I
MethodParameters:
Name Flags
method
protected jdk.vm.ci.code.InstalledCode getCode(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.StructuredGraph, boolean, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;ZZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=6
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssume 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/ExplicitExceptionTest;
MethodParameters:
Name Flags
method
graph
forceCompile
installAsDefault
options
public static int testAIOOBESnippet(int[]);
descriptor: ([I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
public void testAIOOBE();
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 problem: \n\tTest cannot be resolved to a type\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/ExplicitExceptionTest;
RuntimeInvisibleAnnotations:
Test()
public static int testNPEArraySnippet(int[]);
descriptor: ([I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
public void testNPEArray();
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 problem: \n\tTest cannot be resolved to a type\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/ExplicitExceptionTest;
RuntimeInvisibleAnnotations:
Test()
public static int testNPESnippet(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest$TestClass);
descriptor: (Lorg/graalvm/compiler/hotspot/test/ExplicitExceptionTest$TestClass;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.test.ExplicitExceptionTest$TestClass.field:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/graalvm/compiler/hotspot/test/ExplicitExceptionTest$TestClass;
MethodParameters:
Name Flags
obj
public void testNPE();
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 problem: \n\tTest cannot be resolved to a type\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/ExplicitExceptionTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "ExplicitExceptionTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.ExplicitExceptionTest$TestClass
InnerClasses:
private TestClass = org.graalvm.compiler.hotspot.test.ExplicitExceptionTest$TestClass of org.graalvm.compiler.hotspot.test.ExplicitExceptionTest