class org.jruby.RubyIO$8 implements org.jruby.RubyThread$Task<org.jruby.util.io.ChannelFD, org.jruby.runtime.builtin.IRubyObject>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.jruby.RubyIO$8
  super_class: java.lang.Object
{
  final org.jruby.RubyIO this$0;
    descriptor: Lorg/jruby/RubyIO;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

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

  private final org.jruby.util.io.ChannelFD val$fd;
    descriptor: Lorg/jruby/util/io/ChannelFD;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

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

  void <init>(org.jruby.RubyIO, org.jruby.util.ByteList, org.jruby.util.io.ChannelFD, long);
    descriptor: (Lorg/jruby/RubyIO;Lorg/jruby/util/ByteList;Lorg/jruby/util/io/ChannelFD;J)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // org.jruby.RubyIO$8 this
         0: .line 4577
            aload 0 /* this */
            aload 1
            putfield org.jruby.RubyIO$8.this$0:Lorg/jruby/RubyIO;
            aload 0 /* this */
            aload 2
            putfield org.jruby.RubyIO$8.val$strByteList:Lorg/jruby/util/ByteList;
            aload 0 /* this */
            aload 3
            putfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            aload 0 /* this */
            lload 4
            putfield org.jruby.RubyIO$8.val$off:J
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.RubyIO$8 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/RubyIO$8;
    MethodParameters:
                 Name  Flags
      this$0           final
      val$strByteList  final
      val$fd           final
      val$off          final

  public org.jruby.runtime.builtin.IRubyObject run(org.jruby.runtime.ThreadContext, org.jruby.util.io.ChannelFD);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/ChannelFD;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=8, args_size=3
        start local 0 // org.jruby.RubyIO$8 this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.util.io.ChannelFD channelFD
         0: .line 4580
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 3 /* runtime */
        start local 3 // org.jruby.Ruby runtime
         1: .line 4582
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$strByteList:Lorg/jruby/util/ByteList;
            invokevirtual org.jruby.util.ByteList.realSize:()I
            istore 4 /* length */
        start local 4 // int length
         2: .line 4583
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$strByteList:Lorg/jruby/util/ByteList;
            invokevirtual org.jruby.util.ByteList.unsafeBytes:()[B
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$strByteList:Lorg/jruby/util/ByteList;
            invokevirtual org.jruby.util.ByteList.begin:()I
            iload 4 /* length */
            invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
            astore 5 /* wrap */
        start local 5 // java.nio.ByteBuffer wrap
         3: .line 4584
            iconst_0
            istore 6 /* written */
        start local 6 // int written
         4: .line 4587
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chFile:Ljava/nio/channels/FileChannel;
            ifnull 7
         5: .line 4588
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chFile:Ljava/nio/channels/FileChannel;
            aload 5 /* wrap */
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$off:J
            invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;J)I
            istore 6 /* written */
         6: .line 4589
            goto 16
      StackMap locals: org.jruby.RubyIO$8 org.jruby.runtime.ThreadContext org.jruby.util.io.ChannelFD org.jruby.Ruby int java.nio.ByteBuffer int
      StackMap stack:
         7: aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chNative:Ljnr/enxio/channels/NativeSelectableChannel;
            ifnull 10
         8: .line 4590
            aload 3 /* runtime */
            invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chNative:Ljnr/enxio/channels/NativeSelectableChannel;
            invokeinterface jnr.enxio.channels.NativeSelectableChannel.getFD:()I
            aload 5 /* wrap */
            iload 4 /* length */
            i2l
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$off:J
            invokeinterface jnr.posix.POSIX.pwrite:(ILjava/nio/ByteBuffer;JJ)J
            l2i
            istore 6 /* written */
         9: .line 4591
            goto 16
      StackMap locals:
      StackMap stack:
        10: aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chWrite:Ljava/nio/channels/WritableByteChannel;
            ifnull 13
        11: .line 4592
            aload 0 /* this */
            getfield org.jruby.RubyIO$8.val$fd:Lorg/jruby/util/io/ChannelFD;
            getfield org.jruby.util.io.ChannelFD.chWrite:Ljava/nio/channels/WritableByteChannel;
            aload 5 /* wrap */
            invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
            istore 6 /* written */
        12: .line 4593
            goto 16
        13: .line 4594
      StackMap locals:
      StackMap stack:
            aload 3 /* runtime */
            ldc "not opened for writing"
            invokevirtual org.jruby.Ruby.newIOError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        14: .line 4596
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 7 /* ioe */
        start local 7 // java.io.IOException ioe
        15: .line 4597
            aload 3 /* runtime */
            aload 7 /* ioe */
            invokestatic org.jruby.runtime.Helpers.newIOErrorFromException:(Lorg/jruby/Ruby;Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 7 // java.io.IOException ioe
        16: .line 4599
      StackMap locals:
      StackMap stack:
            aload 3 /* runtime */
            iload 6 /* written */
            invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
            areturn
        end local 6 // int written
        end local 5 // java.nio.ByteBuffer wrap
        end local 4 // int length
        end local 3 // org.jruby.Ruby runtime
        end local 2 // org.jruby.util.io.ChannelFD channelFD
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.RubyIO$8 this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   17     0       this  Lorg/jruby/RubyIO$8;
            0   17     1    context  Lorg/jruby/runtime/ThreadContext;
            0   17     2  channelFD  Lorg/jruby/util/io/ChannelFD;
            1   17     3    runtime  Lorg/jruby/Ruby;
            2   17     4     length  I
            3   17     5       wrap  Ljava/nio/ByteBuffer;
            4   17     6    written  I
           15   16     7        ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           4    14      14  Class java.io.IOException
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
           Name  Flags
      context    
      channelFD  

  public void wakeup(org.jruby.RubyThread, org.jruby.util.io.ChannelFD);
    descriptor: (Lorg/jruby/RubyThread;Lorg/jruby/util/io/ChannelFD;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // org.jruby.RubyIO$8 this
        start local 1 // org.jruby.RubyThread thread
        start local 2 // org.jruby.util.io.ChannelFD channelFD
         0: .line 4605
            aload 1 /* thread */
            invokevirtual org.jruby.RubyThread.getNativeThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
         1: .line 4606
            return
        end local 2 // org.jruby.util.io.ChannelFD channelFD
        end local 1 // org.jruby.RubyThread thread
        end local 0 // org.jruby.RubyIO$8 this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/jruby/RubyIO$8;
            0    2     1     thread  Lorg/jruby/RubyThread;
            0    2     2  channelFD  Lorg/jruby/util/io/ChannelFD;
    MethodParameters:
           Name  Flags
      thread     
      channelFD  

  public java.lang.Object run(org.jruby.runtime.ThreadContext, java.lang.Object);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast org.jruby.util.io.ChannelFD
            invokevirtual org.jruby.RubyIO$8.run:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/ChannelFD;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.InterruptedException

  public void wakeup(org.jruby.RubyThread, java.lang.Object);
    descriptor: (Lorg/jruby/RubyThread;Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast org.jruby.util.io.ChannelFD
            invokevirtual org.jruby.RubyIO$8.wakeup:(Lorg/jruby/RubyThread;Lorg/jruby/util/io/ChannelFD;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/RubyThread$Task<Lorg/jruby/util/io/ChannelFD;Lorg/jruby/runtime/builtin/IRubyObject;>;
SourceFile: "RubyIO.java"
EnclosingMethod: org.jruby.RubyIO.pwrite:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyIO
InnerClasses:
  org.jruby.RubyIO$8
  public abstract Task = org.jruby.RubyThread$Task of org.jruby.RubyThread