class com.sun.tools.example.trace.StreamRedirectThread extends java.lang.Thread
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.tools.example.trace.StreamRedirectThread
  super_class: java.lang.Thread
{
  private final java.io.Reader in;
    descriptor: Ljava/io/Reader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.Writer out;
    descriptor: Ljava/io/Writer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final int BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2048

  void <init>(java.lang.String, java.io.InputStream, java.io.OutputStream);
    descriptor: (Ljava/lang/String;Ljava/io/InputStream;Ljava/io/OutputStream;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.sun.tools.example.trace.StreamRedirectThread this
        start local 1 // java.lang.String name
        start local 2 // java.io.InputStream in
        start local 3 // java.io.OutputStream out
         0: .line 50
            aload 0 /* this */
            aload 1 /* name */
            invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
         1: .line 51
            aload 0 /* this */
            new java.io.InputStreamReader
            dup
            aload 2 /* in */
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
            putfield com.sun.tools.example.trace.StreamRedirectThread.in:Ljava/io/Reader;
         2: .line 52
            aload 0 /* this */
            new java.io.OutputStreamWriter
            dup
            aload 3 /* out */
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
            putfield com.sun.tools.example.trace.StreamRedirectThread.out:Ljava/io/Writer;
         3: .line 53
            aload 0 /* this */
            bipush 9
            invokevirtual com.sun.tools.example.trace.StreamRedirectThread.setPriority:(I)V
         4: .line 54
            return
        end local 3 // java.io.OutputStream out
        end local 2 // java.io.InputStream in
        end local 1 // java.lang.String name
        end local 0 // com.sun.tools.example.trace.StreamRedirectThread this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/tools/example/trace/StreamRedirectThread;
            0    5     1  name  Ljava/lang/String;
            0    5     2    in  Ljava/io/InputStream;
            0    5     3   out  Ljava/io/OutputStream;
    MethodParameters:
      Name  Flags
      name  
      in    
      out   

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.sun.tools.example.trace.StreamRedirectThread this
         0: .line 61
            sipush 2048
            newarray 5
            astore 1 /* cbuf */
        start local 1 // char[] cbuf
         1: .line 63
            goto 3
        start local 2 // int count
         2: .line 64
      StackMap locals: char[] int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.trace.StreamRedirectThread.out:Ljava/io/Writer;
            aload 1 /* cbuf */
            iconst_0
            iload 2 /* count */
            invokevirtual java.io.Writer.write:([CII)V
        end local 2 // int count
         3: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.trace.StreamRedirectThread.in:Ljava/io/Reader;
            aload 1 /* cbuf */
            iconst_0
            sipush 2048
            invokevirtual java.io.Reader.read:([CII)I
            dup
            istore 2 /* count */
        start local 2 // int count
         4: ifge 2
         5: .line 66
            aload 0 /* this */
            getfield com.sun.tools.example.trace.StreamRedirectThread.out:Ljava/io/Writer;
            invokevirtual java.io.Writer.flush:()V
        end local 2 // int count
        end local 1 // char[] cbuf
         6: .line 67
            goto 9
      StackMap locals: com.sun.tools.example.trace.StreamRedirectThread
      StackMap stack: java.io.IOException
         7: astore 1 /* exc */
        start local 1 // java.io.IOException exc
         8: .line 68
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Child I/O Transfer - "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* exc */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        end local 1 // java.io.IOException exc
         9: .line 70
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.sun.tools.example.trace.StreamRedirectThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Lcom/sun/tools/example/trace/StreamRedirectThread;
            1    6     1   cbuf  [C
            2    3     2  count  I
            4    6     2  count  I
            8    9     1    exc  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     6       7  Class java.io.IOException
}
SourceFile: "StreamRedirectThread.java"