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=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
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;
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.core.test.FindUniqueDefaultMethodTest.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.core.test.FindUniqueDefaultMethodTest.compile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/code/CompilationResult;
pop
5: aload 2
iconst_1
aload 6
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
6: aload 6
7: aload 5
ifnull 8
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
8: StackMap locals: org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest 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.core.test.FindUniqueDefaultMethodTest 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
9: astore 3
10: aload 5
ifnull 11
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
11: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
aload 3
ifnonnull 13
aload 4
astore 3
goto 14
StackMap locals:
StackMap stack:
13: aload 3
aload 4
if_acmpeq 14
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals: org.graalvm.compiler.core.test.FindUniqueDefaultMethodTest java.lang.String org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
15: astore 3
start local 3 16: 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 17 0 this Lorg/graalvm/compiler/core/test/FindUniqueDefaultMethodTest;
0 17 1 snippet Ljava/lang/String;
1 17 2 debug Lorg/graalvm/compiler/debug/DebugContext;
3 11 5 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 9 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
16 17 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 7 9 any
2 8 12 any
9 12 12 any
1 8 15 Class java.lang.Throwable
9 15 15 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.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph