class org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader extends java.lang.ClassLoader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader
super_class: java.lang.ClassLoader
{
private static int loaderInstance;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final java.lang.String replaceTo;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.HashMap<java.lang.String, java.lang.Class<?>> cache;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Class<*>;>;
private final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/test/FinalizableSubclassTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.$assertionsDisabled:Z
3: iconst_0
putstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.loaderInstance:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.ClassLoader.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.cache:Ljava/util/HashMap;
2: getstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.loaderInstance:I
iconst_1
iadd
putstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.loaderInstance:I
3: aload 0
aload 1
putfield org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.debug:Lorg/graalvm/compiler/debug/DebugContext;
4: aload 0
ldc "%04d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.loaderInstance:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putfield org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.replaceTo:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/test/FinalizableSubclassTest$ClassTemplateLoader;
0 6 1 debug Lorg/graalvm/compiler/debug/DebugContext;
MethodParameters:
Name Flags
debug
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\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/FinalizableSubclassTest$ClassTemplateLoader;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name final
private static int indexOfAAAA(byte[], int);
descriptor: ([BI)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: goto 13
2: StackMap locals: int
StackMap stack:
iconst_1
istore 3
start local 3 3: iload 2
istore 4
start local 4 4: goto 9
5: StackMap locals: int int
StackMap stack:
aload 0
iload 4
baload
bipush 65
if_icmpeq 8
6: iconst_0
istore 3
7: goto 10
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
iconst_4
iadd
if_icmplt 5
end local 4 10: StackMap locals:
StackMap stack:
iload 3
ifeq 12
11: iload 2
ireturn
end local 3 12: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
aload 0
arraylength
if_icmplt 2
end local 2 14: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 b [B
0 15 1 index I
1 14 2 i I
3 12 3 match Z
4 10 4 j I
MethodParameters:
Name Flags
b
index
private static void replaceAAAA(byte[], int, java.lang.String);
descriptor: ([BILjava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual java.lang.String.length:()I
iconst_4
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
iload 3
aload 2
iload 3
iload 1
isub
invokevirtual java.lang.String.charAt:(I)C
i2b
bastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 1
iconst_4
iadd
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 b [B
0 7 1 index I
0 7 2 replacer Ljava/lang/String;
2 6 3 i I
MethodParameters:
Name Flags
b
index
replacer
private static void dumpStringsInByteArray(org.graalvm.compiler.debug.DebugContext, byte[]);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;[B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 14
StackMap locals: org.graalvm.compiler.debug.DebugContext byte[] int java.lang.StringBuilder top int int byte[]
StackMap stack:
3: aload 7
iload 5
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
astore 4
start local 4 4: aload 4
invokevirtual java.lang.Byte.byteValue:()B
bipush 65
if_icmplt 5
aload 4
invokevirtual java.lang.Byte.byteValue:()B
bipush 122
if_icmple 6
StackMap locals: org.graalvm.compiler.debug.DebugContext byte[] int java.lang.StringBuilder java.lang.Byte int int byte[]
StackMap stack:
5: aload 4
invokevirtual java.lang.Byte.byteValue:()B
bipush 48
if_icmplt 12
aload 4
invokevirtual java.lang.Byte.byteValue:()B
bipush 57
if_icmpgt 12
6: StackMap locals:
StackMap stack:
iload 2
ifne 9
7: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;)V
8: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
9: StackMap locals:
StackMap stack:
aload 3
ldc "%c"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iconst_1
istore 2
11: goto 13
12: StackMap locals:
StackMap stack:
iconst_0
istore 2
end local 4 13: StackMap locals: org.graalvm.compiler.debug.DebugContext byte[] int java.lang.StringBuilder top int int byte[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 6
if_icmplt 3
15: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 debug Lorg/graalvm/compiler/debug/DebugContext;
0 17 1 b [B
1 17 2 wasChar Z
2 17 3 sb Ljava/lang/StringBuilder;
4 13 4 x Ljava/lang/Byte;
MethodParameters:
Name Flags
debug
b
}
SourceFile: "FinalizableSubclassTest.java"
NestHost: org.graalvm.compiler.core.test.FinalizableSubclassTest
InnerClasses:
private ClassTemplateLoader = org.graalvm.compiler.core.test.FinalizableSubclassTest$ClassTemplateLoader of org.graalvm.compiler.core.test.FinalizableSubclassTest