public class org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests 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.ClassSubstitutionsTests
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
public java.lang.Number instanceField;
descriptor: Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
public java.lang.Object[] arrayField;
descriptor: [Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
public java.lang.String[] stringArrayField;
descriptor: [Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
private static final org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$A a;
descriptor: Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$B b;
descriptor: Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$C c;
descriptor: Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$C;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$A
dup
invokespecial org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$A.<init>:()V
putstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
1: new org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$B
dup
invokespecial org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$B.<init>:()V
putstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.b:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
2: new org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$C
dup
invokespecial org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$C.<init>:()V
putstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.c:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$C;
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/hotspot/test/ClassSubstitutionsTests;
protected org.graalvm.compiler.nodes.StructuredGraph test(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
ldc "ClassSubstitutionsTest"
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.getMethod:(Ljava/lang/String;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 5
start local 5 3: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 2
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 4: aload 0
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 6
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.compile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/code/CompilationResult;
pop
5: aload 6
ldc Lorg/graalvm/compiler/nodes/Invoke;
invokestatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.assertNotInGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
pop
6: aload 2
iconst_1
aload 6
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
7: aload 6
8: aload 5
ifnull 9
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
9: StackMap locals: org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
end local 6 StackMap locals: org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 5
ifnull 12
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
12: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
aload 3
ifnonnull 14
aload 4
astore 3
goto 15
StackMap locals:
StackMap stack:
14: aload 3
aload 4
if_acmpeq 15
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 3
athrow
StackMap locals: org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests java.lang.String org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
16: astore 3
start local 3 17: aload 2
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
0 18 1 snippet Ljava/lang/String;
1 18 2 debug Lorg/graalvm/compiler/debug/DebugContext;
3 12 5 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 10 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
17 18 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 8 10 any
2 9 13 any
10 13 13 any
1 9 16 Class java.lang.Throwable
10 16 16 Class java.lang.Throwable
MethodParameters:
Name Flags
snippet final
protected static org.graalvm.compiler.nodes.StructuredGraph assertNotInGraph(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Class<?>);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.Class top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
invokevirtual org.graalvm.compiler.graph.Node.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 6 1 clazz Ljava/lang/Class<*>;
2 4 2 node Lorg/graalvm/compiler/graph/Node;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class<*>;)Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
graph
clazz
public boolean constantIsArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean constantIsInterface();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isInterface:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean constantIsPrimitive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public void testIsArray();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public void testIsInterface();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public void testIsPrimitive();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public boolean fieldIsNotArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.instanceField:Ljava/lang/Number;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.instanceField:Ljava/lang/Number;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public void testFieldIsNotArray();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public boolean foldComponentType();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.stringArrayField:[Ljava/lang/String;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
ldc Ljava/lang/String;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public void testFoldComponentType();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public void testFieldIsArray();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
public boolean fieldIsArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.arrayField:[Ljava/lang/Object;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.arrayField:[Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable1();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable2();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.b:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable3();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.c:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$C;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable4();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.b:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.a:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$A;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable5();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.c:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$C;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.b:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable6();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.b:Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests$B;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public boolean classIsAssignable7();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
public void testClassIsAssignable();
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/ClassSubstitutionsTests;
RuntimeInvisibleAnnotations:
Test()
private void testConstantReturn(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.test:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 3
getstatic org.graalvm.compiler.nodes.ReturnNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.first:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ReturnNode
astore 4
start local 4 2: aload 0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
getstatic org.graalvm.compiler.nodes.ReturnNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 0
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 4
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
aload 2
aload 4
invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asBoxedPrimitive:()Ljava/lang/Object;
invokevirtual org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/test/ClassSubstitutionsTests;
0 6 1 name Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
1 6 3 result Lorg/graalvm/compiler/nodes/StructuredGraph;
2 6 4 ret Lorg/graalvm/compiler/nodes/ReturnNode;
MethodParameters:
Name Flags
name
value
}
SourceFile: "ClassSubstitutionsTests.java"
NestMembers:
org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$A org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$B org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$C
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
private A = org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$A of org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests
private B = org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$B of org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests
private C = org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests$C of org.graalvm.compiler.hotspot.test.ClassSubstitutionsTests
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph