public class org.graalvm.compiler.jtt.jdk.System_setOut extends org.graalvm.compiler.jtt.JTTTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.jtt.jdk.System_setOut
super_class: org.graalvm.compiler.jtt.JTTTest
{
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.jtt.JTTTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/jtt/jdk/System_setOut;
public static int test(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: java.io.PrintStream int int
StackMap stack:
new java.io.ByteArrayOutputStream
dup
iload 0
bipush 10
imul
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 4
start local 4 5: new java.io.PrintStream
dup
aload 4
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 6: aload 5
invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
7: iload 0
invokestatic org.graalvm.compiler.jtt.jdk.System_setOut.doPrint:(I)V
8: iload 2
aload 4
invokevirtual java.io.ByteArrayOutputStream.size:()I
iadd
istore 2
end local 5 end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
bipush 10
if_icmplt 4
end local 3 11: aload 1
invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
12: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 n I
1 13 1 oldOut Ljava/io/PrintStream;
2 13 2 sum I
3 11 3 i I
5 9 4 ba Ljava/io/ByteArrayOutputStream;
6 9 5 newOut Ljava/io/PrintStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
n
private static void doPrint(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.io.PrintStream int
StackMap stack:
aload 1
bipush 120
invokevirtual java.io.PrintStream.print:(C)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 0
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 n I
1 7 1 out Ljava/io/PrintStream;
2 6 2 i I
MethodParameters:
Name Flags
n
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
astore 1
start local 1 1: aload 1
sipush 10000
invokestatic org.graalvm.compiler.jtt.jdk.System_setOut.test:(I)I
invokevirtual java.io.PrintStream.println:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/String;
1 3 1 out Ljava/io/PrintStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public void run0();
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/jtt/jdk/System_setOut;
Exceptions:
throws java.lang.Throwable
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "System_setOut.java"