public class org.graalvm.compiler.hotspot.test.ObjectCloneTest 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.ObjectCloneTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static final int[] ARRAY;
descriptor: [I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_4
iastore
dup
iconst_3
iconst_3
iastore
putstatic org.graalvm.compiler.hotspot.test.ObjectCloneTest.ARRAY:[I
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/ObjectCloneTest;
public static java.lang.Object cloneArray(int[]);
descriptor: ([I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual int[].clone:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
public static cloneList(java.util.ArrayList<?>);
descriptor: (Ljava/util/ArrayList;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.ArrayList.clone:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/ArrayList<*>;
Signature: (Ljava/util/ArrayList<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
list
public static java.lang.Object notCloneable(org.graalvm.compiler.hotspot.test.ObjectCloneTest$ObjectCloneable);
descriptor: (Lorg/graalvm/compiler/hotspot/test/ObjectCloneTest$ObjectCloneable;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.ObjectCloneTest$ObjectCloneable.clone:()Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.test.ObjectCloneTest$ObjectCloneable
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cloneable Lorg/graalvm/compiler/hotspot/test/ObjectCloneTest$ObjectCloneable;
1 2 1 clone Lorg/graalvm/compiler/hotspot/test/ObjectCloneTest$ObjectCloneable;
Exceptions:
throws java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
cloneable
public void testNotIntrinsified();
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/ObjectCloneTest;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void testArray();
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/ObjectCloneTest;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
public void testList();
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/ObjectCloneTest;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration editGraphBuilderConfiguration(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.withNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.editGraphBuilderConfiguration:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/ObjectCloneTest;
0 1 1 conf Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
MethodParameters:
Name Flags
conf
public static int[] cloneConstantArray();
descriptor: ()[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.test.ObjectCloneTest.ARRAY:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
areturn
LocalVariableTable:
Start End Slot Name Signature
public void testCloneConstantArray();
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/ObjectCloneTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "ObjectCloneTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.ObjectCloneTest$CloneableSubclass org.graalvm.compiler.hotspot.test.ObjectCloneTest$ObjectCloneable
InnerClasses:
CloneableSubclass = org.graalvm.compiler.hotspot.test.ObjectCloneTest$CloneableSubclass of org.graalvm.compiler.hotspot.test.ObjectCloneTest
ObjectCloneable = org.graalvm.compiler.hotspot.test.ObjectCloneTest$ObjectCloneable of org.graalvm.compiler.hotspot.test.ObjectCloneTest