public class org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest 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.core.test.FindUniqueDefaultMethodTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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/core/test/FindUniqueDefaultMethodTest;
public void testFindUnique();
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/core/test/FindUniqueDefaultMethodTest;
RuntimeInvisibleAnnotations:
Test()
public void testInherited();
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/core/test/FindUniqueDefaultMethodTest;
RuntimeInvisibleAnnotations:
Test()
public void testDefault();
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 problems: \n\tTest cannot be resolved to a type\n\tIgnore 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/core/test/FindUniqueDefaultMethodTest;
RuntimeInvisibleAnnotations:
Test()
public int runDefault(org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2);
descriptor: (Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest$Implementor2;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2.callV1:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest;
0 1 1 i Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest$Implementor2;
MethodParameters:
Name Flags
i
public int runInherited(org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2);
descriptor: (Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest$Implementor2;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2.callV2:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest;
0 1 1 i Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest$Implementor2;
MethodParameters:
Name Flags
i
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.core.test.FindUniqueDefaultMethodTest.buildGraph:(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.core.test.FindUniqueDefaultMethodTest.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.core.test.FindUniqueDefaultMethodTest.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.core.test.FindUniqueDefaultMethodTest.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/core/test/FindUniqueDefaultMethodTest;
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
protected org.graalvm.compiler.nodes.StructuredGraph buildGraph(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: ldc "InstanceOfTest"
aload 0
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
aload 1
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest.getMethod:(Ljava/lang/String;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 4
start local 4 2: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 3: aload 0
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 5
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest.compile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/code/CompilationResult;
pop
4: iconst_1
aload 5
aload 1
invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
5: aload 5
6: aload 4
ifnull 7
aload 4
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
7: StackMap locals: org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
end local 5 StackMap locals: org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
8: astore 2
9: aload 4
ifnull 10
aload 4
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
StackMap locals: org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest java.lang.String
StackMap stack: java.lang.Throwable
14: astore 2
start local 2 15: aload 2
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest;
0 16 1 snippet Ljava/lang/String;
2 10 4 s Lorg/graalvm/compiler/debug/Debug$Scope;
3 8 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
15 16 2 e Ljava/lang/Throwable;
Exception table:
from to target type
2 6 8 any
1 7 11 any
8 11 11 any
0 7 14 Class java.lang.Throwable
8 14 14 Class java.lang.Throwable
MethodParameters:
Name Flags
snippet final
}
SourceFile: "FindUniqueDefaultMethodTest.java"
NestMembers:
org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Base2 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor1 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Interface1 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Interface2 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Subclass1 org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Subclass2
InnerClasses:
Base2 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Base2 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
Implementor1 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor1 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
Implementor2 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Implementor2 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
abstract Interface1 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Interface1 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
abstract Interface2 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Interface2 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
Subclass1 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Subclass1 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
Subclass2 = org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest$Subclass2 of org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest
public abstract Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph