public class org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader extends java.lang.ClassLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader
super_class: java.lang.ClassLoader
{
java.lang.Class<?> loaded;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<*>;
static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: .line 160
new java.lang.StringBuilder
dup
getstatic org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests.PACKAGE_NAME:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".ConstantPoolTest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.NAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader this
start local 1 // java.lang.ClassLoader parent
0: .line 163
aload 0 /* this */
aload 1 /* parent */
invokespecial java.lang.ClassLoader.<init>:(Ljava/lang/ClassLoader;)V
1: .line 164
return
end local 1 // java.lang.ClassLoader parent
end local 0 // org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/ConstantPoolSubstitutionsTests$AsmLoader;
0 2 1 parent Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parent
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 // org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader this
start local 1 // java.lang.String name
0: .line 168
aload 1 /* name */
getstatic org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.NAME:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: .line 169
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.loaded:Ljava/lang/Class;
ifnull 3
2: .line 170
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.loaded:Ljava/lang/Class;
areturn
3: .line 172
StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$Gen.generateClass:()[B
astore 2 /* bytes */
start local 2 // byte[] bytes
4: .line 173
aload 0 /* this */
aload 0 /* this */
aload 1 /* name */
aload 2 /* bytes */
iconst_0
aload 2 /* bytes */
arraylength
invokevirtual org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.defineClass:(Ljava/lang/String;[BII)Ljava/lang/Class;
dup_x1
putfield org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader.loaded:Ljava/lang/Class;
areturn
end local 2 // byte[] bytes
5: .line 175
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* name */
invokespecial java.lang.ClassLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 1 // java.lang.String name
end local 0 // org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/test/ConstantPoolSubstitutionsTests$AsmLoader;
0 6 1 name Ljava/lang/String;
4 5 2 bytes [B
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
}
SourceFile: "ConstantPoolSubstitutionsTests.java"
NestHost: org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests
InnerClasses:
public AsmLoader = org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$AsmLoader of org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests
Gen = org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests$Gen of org.graalvm.compiler.hotspot.test.ConstantPoolSubstitutionsTests