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 // org.graalvm.compiler.jtt.jdk.System_setOut this
         0: .line 36
            aload 0 /* this */
            invokespecial org.graalvm.compiler.jtt.JTTTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.jtt.jdk.System_setOut this
      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 // int n
         0: .line 39
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 1 /* oldOut */
        start local 1 // java.io.PrintStream oldOut
         1: .line 40
            iconst_0
            istore 2 /* sum */
        start local 2 // int sum
         2: .line 41
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 10
         4: .line 42
      StackMap locals: java.io.PrintStream int int
      StackMap stack:
            new java.io.ByteArrayOutputStream
            dup
            iload 0 /* n */
            bipush 10
            imul
            invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
            astore 4 /* ba */
        start local 4 // java.io.ByteArrayOutputStream ba
         5: .line 43
            new java.io.PrintStream
            dup
            aload 4 /* ba */
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
            astore 5 /* newOut */
        start local 5 // java.io.PrintStream newOut
         6: .line 44
            aload 5 /* newOut */
            invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
         7: .line 45
            iload 0 /* n */
            invokestatic org.graalvm.compiler.jtt.jdk.System_setOut.doPrint:(I)V
         8: .line 46
            iload 2 /* sum */
            aload 4 /* ba */
            invokevirtual java.io.ByteArrayOutputStream.size:()I
            iadd
            istore 2 /* sum */
        end local 5 // java.io.PrintStream newOut
        end local 4 // java.io.ByteArrayOutputStream ba
         9: .line 41
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 3 /* i */
            bipush 10
            if_icmplt 4
        end local 3 // int i
        11: .line 49
            aload 1 /* oldOut */
            invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
        12: .line 50
            iload 2 /* sum */
            ireturn
        end local 2 // int sum
        end local 1 // java.io.PrintStream oldOut
        end local 0 // int n
      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 // int n
         0: .line 54
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 1 /* out */
        start local 1 // java.io.PrintStream out
         1: .line 55
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 5
         3: .line 56
      StackMap locals: java.io.PrintStream int
      StackMap stack:
            aload 1 /* out */
            bipush 120
            invokevirtual java.io.PrintStream.print:(C)V
         4: .line 55
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 2 /* i */
            iload 0 /* n */
            if_icmplt 3
        end local 2 // int i
         6: .line 58
            return
        end local 1 // java.io.PrintStream out
        end local 0 // int n
      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 // java.lang.String[] args
         0: .line 61
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 1 /* out */
        start local 1 // java.io.PrintStream out
         1: .line 62
            aload 1 /* out */
            sipush 10000
            invokestatic org.graalvm.compiler.jtt.jdk.System_setOut.test:(I)I
            invokevirtual java.io.PrintStream.println:(I)V
         2: .line 63
            return
        end local 1 // java.io.PrintStream out
        end local 0 // java.lang.String[] args
      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 // org.graalvm.compiler.jtt.jdk.System_setOut this
         0: .line 65
            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 // org.graalvm.compiler.jtt.jdk.System_setOut this
      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"