class org.jruby.RubyIO$9 implements org.jruby.internal.runtime.ThreadedRunnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.jruby.RubyIO$9
  super_class: java.lang.Object
{
  volatile java.lang.Thread javaThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0040) ACC_VOLATILE

  private final org.jruby.RubyThread[] val$waitThread;
    descriptor: [Lorg/jruby/RubyThread;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final org.jruby.Ruby val$runtime;
    descriptor: Lorg/jruby/Ruby;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final long val$pid;
    descriptor: J
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final org.jruby.RubyIO$POpenTuple val$tuple;
    descriptor: Lorg/jruby/RubyIO$POpenTuple;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.jruby.RubyThread[], org.jruby.Ruby, long, org.jruby.RubyIO$POpenTuple);
    descriptor: ([Lorg/jruby/RubyThread;Lorg/jruby/Ruby;JLorg/jruby/RubyIO$POpenTuple;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // org.jruby.RubyIO$9 this
         0: .line 5093
            aload 0 /* this */
            aload 1
            putfield org.jruby.RubyIO$9.val$waitThread:[Lorg/jruby/RubyThread;
            aload 0 /* this */
            aload 2
            putfield org.jruby.RubyIO$9.val$runtime:Lorg/jruby/Ruby;
            aload 0 /* this */
            lload 3
            putfield org.jruby.RubyIO$9.val$pid:J
            aload 0 /* this */
            aload 5
            putfield org.jruby.RubyIO$9.val$tuple:Lorg/jruby/RubyIO$POpenTuple;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.RubyIO$9 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/RubyIO$9;
    MethodParameters:
                Name  Flags
      val$waitThread  final
      val$runtime     final
      val$pid         final
      val$tuple       final

  public java.lang.Thread getJavaThread();
    descriptor: ()Ljava/lang/Thread;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.RubyIO$9 this
         0: .line 5099
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.javaThread:Ljava/lang/Thread;
            areturn
        end local 0 // org.jruby.RubyIO$9 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/RubyIO$9;

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // org.jruby.RubyIO$9 this
         0: .line 5104
            aload 0 /* this */
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            putfield org.jruby.RubyIO$9.javaThread:Ljava/lang/Thread;
         1: .line 5107
            goto 3
        start local 1 // org.jruby.RubyThread rubyThread
         2: .line 5108
      StackMap locals: org.jruby.RubyThread
      StackMap stack:
            invokestatic java.lang.Thread.yield:()V
        end local 1 // org.jruby.RubyThread rubyThread
         3: .line 5107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$waitThread:[Lorg/jruby/RubyThread;
            iconst_0
            aaload
            dup
            astore 1 /* rubyThread */
        start local 1 // org.jruby.RubyThread rubyThread
         4: ifnull 2
         5: .line 5111
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getThreadService:()Lorg/jruby/internal/runtime/ThreadService;
            aload 1 /* rubyThread */
            invokevirtual org.jruby.internal.runtime.ThreadService.registerNewThread:(Lorg/jruby/RubyThread;)Lorg/jruby/runtime/ThreadContext;
            pop
         6: .line 5113
            aload 1 /* rubyThread */
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$runtime:Lorg/jruby/Ruby;
            ldc "pid"
            invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$runtime:Lorg/jruby/Ruby;
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$pid:J
            invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            invokevirtual org.jruby.RubyThread.op_aset:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
         7: .line 5116
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$tuple:Lorg/jruby/RubyIO$POpenTuple;
            getfield org.jruby.RubyIO$POpenTuple.process:Ljava/lang/Process;
            invokevirtual java.lang.Process.waitFor:()I
            istore 2 /* exitValue */
        start local 2 // int exitValue
         8: .line 5120
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$runtime:Lorg/jruby/Ruby;
         9: .line 5121
            iload 2 /* exitValue */
            bipush 8
            ishl
            i2l
        10: .line 5122
            aload 0 /* this */
            getfield org.jruby.RubyIO$9.val$pid:J
        11: .line 5119
            invokestatic org.jruby.RubyProcess$RubyStatus.newProcessStatus:(Lorg/jruby/Ruby;JJ)Lorg/jruby/RubyProcess$RubyStatus;
            astore 3 /* status */
        start local 3 // org.jruby.RubyProcess$RubyStatus status
        12: .line 5124
            aload 1 /* rubyThread */
            aload 3 /* status */
            invokevirtual org.jruby.RubyThread.cleanTerminate:(Lorg/jruby/runtime/builtin/IRubyObject;)V
        end local 3 // org.jruby.RubyProcess$RubyStatus status
        end local 2 // int exitValue
        13: .line 5125
            goto 20
      StackMap locals: org.jruby.RubyIO$9 org.jruby.RubyThread
      StackMap stack: java.lang.Throwable
        14: astore 2 /* t */
        start local 2 // java.lang.Throwable t
        15: .line 5126
            aload 1 /* rubyThread */
            aload 2 /* t */
            invokevirtual org.jruby.RubyThread.exceptionRaised:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable t
        16: .line 5128
            aload 1 /* rubyThread */
            invokevirtual org.jruby.RubyThread.dispose:()V
            goto 21
        17: .line 5127
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        18: .line 5128
            aload 1 /* rubyThread */
            invokevirtual org.jruby.RubyThread.dispose:()V
        19: .line 5129
            aload 4
            athrow
        20: .line 5128
      StackMap locals:
      StackMap stack:
            aload 1 /* rubyThread */
            invokevirtual org.jruby.RubyThread.dispose:()V
        21: .line 5130
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.jruby.RubyThread rubyThread
        end local 0 // org.jruby.RubyIO$9 this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   22     0        this  Lorg/jruby/RubyIO$9;
            2    3     1  rubyThread  Lorg/jruby/RubyThread;
            4   22     1  rubyThread  Lorg/jruby/RubyThread;
            8   13     2   exitValue  I
           12   13     3      status  Lorg/jruby/RubyProcess$RubyStatus;
           15   16     2           t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           7    13      14  Class java.lang.Throwable
           7    16      17  any
}
SourceFile: "RubyIO.java"
EnclosingMethod: org.jruby.RubyIO.popen3:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyIO
InnerClasses:
  org.jruby.RubyIO$9
  private POpenTuple = org.jruby.RubyIO$POpenTuple of org.jruby.RubyIO
  public RubyStatus = org.jruby.RubyProcess$RubyStatus of org.jruby.RubyProcess