public class org.graalvm.compiler.jtt.except.StackTrace_NPE_03 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_03
super_class: org.graalvm.compiler.jtt.JTTTest
{
private static java.lang.String[] trace;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "test2"
aastore
dup
iconst_1
ldc "test1"
aastore
dup
iconst_2
ldc "test"
aastore
putstatic org.graalvm.compiler.jtt.except.StackTrace_NPE_03.trace:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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_03;
public static int test(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: iload 0
iflt 22
1: invokestatic org.graalvm.compiler.jtt.except.StackTrace_NPE_03.test1:()I
2: ireturn
3: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 1
start local 1 4: ldc Lorg/graalvm/compiler/jtt/except/StackTrace_NPE_03;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 5: aload 1
invokevirtual java.lang.NullPointerException.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 21
8: StackMap locals: int java.lang.NullPointerException java.lang.String java.lang.StackTraceElement[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 9: aload 5
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
10: iconst_0
istore 6
start local 6 11: goto 18
12: StackMap locals: java.lang.StackTraceElement int
StackMap stack:
aload 3
iload 4
iload 6
iadd
aaload
astore 7
start local 7 13: aload 7
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
14: bipush -2
ireturn
15: StackMap locals: java.lang.StackTraceElement
StackMap stack:
aload 7
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
getstatic org.graalvm.compiler.jtt.except.StackTrace_NPE_03.trace:[Ljava/lang/String;
iload 6
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
16: bipush -3
ireturn
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
getstatic org.graalvm.compiler.jtt.except.StackTrace_NPE_03.trace:[Ljava/lang/String;
arraylength
if_icmplt 12
end local 6 19: iconst_0
ireturn
end local 5 20: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
aload 3
arraylength
if_icmplt 8
end local 4 end local 3 end local 2 end local 1 22: StackMap locals: int
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 a I
4 22 1 npe Ljava/lang/NullPointerException;
5 22 2 thisClass Ljava/lang/String;
6 22 3 stackTrace [Ljava/lang/StackTraceElement;
7 22 4 i I
9 20 5 e Ljava/lang/StackTraceElement;
11 19 6 j I
13 17 7 f Ljava/lang/StackTraceElement;
Exception table:
from to target type
0 2 3 Class java.lang.NullPointerException
MethodParameters:
Name Flags
a
private static int test1();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.jtt.except.StackTrace_NPE_03.test2:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static int test2();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
LocalVariableTable:
Start End Slot Name Signature
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_03;
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_03;
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_03;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void run3();
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_03;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "StackTrace_NPE_03.java"