public class org.graalvm.compiler.jtt.except.StackTrace_NPE_01 extends org.graalvm.compiler.jtt.JTTTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.jtt.except.StackTrace_NPE_01
super_class: org.graalvm.compiler.jtt.JTTTest
{
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.jtt.JTTTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/except/StackTrace_NPE_01;
public static int test(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iload 0
iflt 11
1: aconst_null
astore 1
start local 1 2: aload 1
invokevirtual java.lang.Object.hashCode:()I
3: ireturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 1
start local 1 5: aload 1
invokevirtual java.lang.NullPointerException.getStackTrace:()[Ljava/lang/StackTraceElement;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: int java.lang.NullPointerException top int int java.lang.StackTraceElement[]
StackMap stack:
6: aload 5
iload 3
aaload
astore 2
start local 2 7: aload 2
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
ldc Lorg/graalvm/compiler/jtt/except/StackTrace_NPE_01;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
aload 2
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
ldc "test"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iload 0
ireturn
end local 2 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 6
end local 1 11: StackMap locals: int
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 a I
2 4 1 o Ljava/lang/Object;
5 11 1 npe Ljava/lang/NullPointerException;
7 9 2 e Ljava/lang/StackTraceElement;
Exception table:
from to target type
0 3 4 Class java.lang.NullPointerException
MethodParameters:
Name Flags
a
public void run0();
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/jtt/except/StackTrace_NPE_01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run1();
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/jtt/except/StackTrace_NPE_01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run2();
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/jtt/except/StackTrace_NPE_01;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "StackTrace_NPE_01.java"