public class org.graalvm.compiler.jtt.loop.LoopParseLong 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.loop.LoopParseLong
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/loop/LoopParseLong;
public static long testShortened(java.lang.String, int);
descriptor: (Ljava/lang/String;I)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 3: iload 5
bipush 48
if_icmpge 10
4: iload 5
bipush 45
if_icmpne 6
5: goto 8
StackMap locals: long int int
StackMap stack:
6: iload 5
bipush 43
if_icmpeq 8
7: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmpne 10
9: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 s Ljava/lang/String;
0 11 1 radix I
1 11 2 result J
2 11 4 len I
3 11 5 firstChar C
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
radix
public static long test(java.lang.String, int);
descriptor: (Ljava/lang/String;I)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NumberFormatException
dup
ldc "null"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
iconst_2
if_icmpge 4
3: new java.lang.NumberFormatException
dup
new java.lang.StringBuilder
dup
ldc "radix "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " less than Character.MIN_RADIX"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
bipush 36
if_icmple 6
5: new java.lang.NumberFormatException
dup
new java.lang.StringBuilder
dup
ldc "radix "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " greater than Character.MAX_RADIX"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 7: iconst_0
istore 4
start local 4 8: iconst_0
istore 5
start local 5 9: aload 0
invokevirtual java.lang.String.length:()I
istore 6
start local 6 10: ldc -9223372036854775807
lstore 7
start local 7 11: iload 6
ifle 36
12: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 12
start local 12 13: iload 12
bipush 48
if_icmpge 23
14: iload 12
bipush 45
if_icmpne 18
15: iconst_1
istore 4
16: ldc -9223372036854775808
lstore 7
17: goto 20
StackMap locals: java.lang.String int long int int int long top top top int
StackMap stack:
18: iload 12
bipush 43
if_icmpeq 20
19: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
20: StackMap locals:
StackMap stack:
iload 6
iconst_1
if_icmpne 22
21: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
iinc 5 1
23: StackMap locals:
StackMap stack:
lload 7
iload 1
i2l
ldiv
lstore 9
start local 9 24: goto 34
25: StackMap locals: java.lang.String int long int int int long long top int
StackMap stack:
aload 0
iload 5
iinc 5 1
invokevirtual java.lang.String.charAt:(I)C
iload 1
invokestatic java.lang.Character.digit:(CI)I
istore 11
start local 11 26: iload 11
ifge 28
27: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
28: StackMap locals: java.lang.String int long int int int long long int int
StackMap stack:
lload 2
lload 9
lcmp
ifge 30
29: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
lload 2
iload 1
i2l
lmul
lstore 2
31: lload 2
lload 7
iload 11
i2l
ladd
lcmp
ifge 33
32: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
lload 2
iload 11
i2l
lsub
lstore 2
end local 11 34: StackMap locals: java.lang.String int long int int int long long top int
StackMap stack:
iload 5
iload 6
if_icmplt 25
end local 12 35: goto 37
end local 9 36: StackMap locals: java.lang.String int long int int int long
StackMap stack:
new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
start local 9 37: StackMap locals: long
StackMap stack:
iload 4
ifeq 38
lload 2
goto 39
StackMap locals:
StackMap stack:
38: lload 2
lneg
StackMap locals:
StackMap stack: long
39: lreturn
end local 9 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 s Ljava/lang/String;
0 40 1 radix I
7 40 2 result J
8 40 4 negative Z
9 40 5 i I
10 40 6 len I
11 40 7 limit J
24 36 9 multmin J
37 40 9 multmin J
26 34 11 digit I
13 35 12 firstChar C
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
radix
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/loop/LoopParseLong;
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/loop/LoopParseLong;
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/loop/LoopParseLong;
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/loop/LoopParseLong;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "LoopParseLong.java"