public class org.graalvm.compiler.replacements.test.IntegerExactExceptionTest 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.replacements.test.IntegerExactExceptionTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static int intCounter;
descriptor: I
flags: (0x0008) ACC_STATIC
static long longCounter;
descriptor: J
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: bipush 32
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
1: ldc 10
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
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.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
public void testIntegerExactOverflowSnippet(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iload 1
invokestatic java.lang.Math.addExact:(II)I
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
1: goto 4
StackMap locals:
StackMap stack: java.lang.ArithmeticException
2: pop
3: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iconst_2
idiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 5 1 input I
Exception table:
from to target type
0 1 2 Class java.lang.ArithmeticException
MethodParameters:
Name Flags
input
public void testIntegerExact();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testIntegerExactOverflowWithoutHandlerSnippetW(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iload 1
invokestatic java.lang.Math.addExact:(II)I
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
3: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iconst_2
idiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
4: aload 2
athrow
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iconst_2
idiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 7 1 input I
Exception table:
from to target type
0 2 2 any
MethodParameters:
Name Flags
input
public void testIntegerExactWithoutHandler();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testIntegerExactOverflowWithoutUse1(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iload 1
invokestatic java.lang.Math.addExact:(II)I
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 2 1 input I
MethodParameters:
Name Flags
input
public void testIntegerExactOverflowWithoutUse2(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 3
1: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iload 1
invokestatic java.lang.Math.addExact:(II)I
pop
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
iload 1
invokestatic java.lang.Math.addExact:(II)I
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.intCounter:I
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 5 1 input I
0 5 2 cond Z
MethodParameters:
Name Flags
input
cond
public void testIntegerExactOverflowWithoutUse3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc 2147483647
iconst_1
invokestatic java.lang.Math.addExact:(II)I
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
public void testIntegerExactWithoutUse1();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testIntegerExactWithoutUse2();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testIntegerExactWithoutUse3();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testLongExactOverflowSnippet(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
lload 1
invokestatic java.lang.Math.addExact:(JJ)J
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
1: goto 4
StackMap locals:
StackMap stack: java.lang.ArithmeticException
2: pop
3: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
ldc 2
ldiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 5 1 input J
Exception table:
from to target type
0 1 2 Class java.lang.ArithmeticException
MethodParameters:
Name Flags
input
public void testLongExact();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testLongExactWithoutHandlerSnippet(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
lload 1
invokestatic java.lang.Math.addExact:(JJ)J
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
3: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
ldc 2
ldiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
4: aload 3
athrow
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
ldc 2
ldiv
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 7 1 input J
Exception table:
from to target type
0 2 2 any
MethodParameters:
Name Flags
input
public void testLongExactWithoutHandler();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testLongExactOverflowWithoutUse1(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
lload 1
invokestatic java.lang.Math.addExact:(JJ)J
pop2
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 2 1 input J
MethodParameters:
Name Flags
input
public void testLongExactOverflowWithoutUse2(long, boolean);
descriptor: (JZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: iload 3
ifeq 3
1: getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
lload 1
invokestatic java.lang.Math.addExact:(JJ)J
pop2
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
lload 1
invokestatic java.lang.Math.addExact:(JJ)J
putstatic org.graalvm.compiler.replacements.test.IntegerExactExceptionTest.longCounter:J
4: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/IntegerExactExceptionTest;
0 5 1 input J
0 5 3 cond Z
MethodParameters:
Name Flags
input
cond
public void testLongExactWithoutUse1();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
public void testLongExactWithoutUse2();
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/replacements/test/IntegerExactExceptionTest;
Exceptions:
throws jdk.vm.ci.code.InvalidInstalledCodeException
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "IntegerExactExceptionTest.java"