class sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask<A> implements java.lang.Runnable, sun.nio.ch.Iocp$ResultHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask
  super_class: java.lang.Object
{
  private final java.nio.ByteBuffer src;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int pos;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int rem;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long position;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final sun.nio.ch.PendingFuture<java.lang.Integer, A> result;
    descriptor: Lsun/nio/ch/PendingFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lsun/nio/ch/PendingFuture<Ljava/lang/Integer;TA;>;

  private volatile java.nio.ByteBuffer buf;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  final sun.nio.ch.WindowsAsynchronousFileChannelImpl this$0;
    descriptor: Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(java.nio.ByteBuffer, int, int, long, sun.nio.ch.PendingFuture<java.lang.Integer, A>);
    descriptor: (Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;Ljava/nio/ByteBuffer;IIJLsun/nio/ch/PendingFuture;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=8, args_size=7
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
        start local 2 // java.nio.ByteBuffer src
        start local 3 // int pos
        start local 4 // int rem
        start local 5 // long position
        start local 7 // sun.nio.ch.PendingFuture result
         0: .line 567
            aload 0 /* this */
            aload 1
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
         1: .line 562
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         2: .line 568
            aload 0 /* this */
            aload 2 /* src */
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
         3: .line 569
            aload 0 /* this */
            iload 3 /* pos */
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.pos:I
         4: .line 570
            aload 0 /* this */
            iload 4 /* rem */
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.rem:I
         5: .line 571
            aload 0 /* this */
            lload 5 /* position */
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.position:J
         6: .line 572
            aload 0 /* this */
            aload 7 /* result */
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
         7: .line 573
            return
        end local 7 // sun.nio.ch.PendingFuture result
        end local 5 // long position
        end local 4 // int rem
        end local 3 // int pos
        end local 2 // java.nio.ByteBuffer src
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;
            0    8     2       src  Ljava/nio/ByteBuffer;
            0    8     3       pos  I
            0    8     4       rem  I
            0    8     5  position  J
            0    8     7    result  Lsun/nio/ch/PendingFuture<Ljava/lang/Integer;TA;>;
    Signature: (Ljava/nio/ByteBuffer;IIJLsun/nio/ch/PendingFuture<Ljava/lang/Integer;TA;>;)V
    MethodParameters:
          Name  Flags
      this$0    final
      src       
      pos       
      rem       
      position  
      result    

  void releaseBufferIfSubstituted();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
         0: .line 576
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            if_acmpeq 2
         1: .line 577
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
            invokestatic sun.nio.ch.Util.releaseTemporaryDirectBuffer:(Ljava/nio/ByteBuffer;)V
         2: .line 578
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;

  void updatePosition(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
        start local 1 // int bytesTransferred
         0: .line 582
            iload 1 /* bytesTransferred */
            ifle 4
         1: .line 584
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.pos:I
            iload 1 /* bytesTransferred */
            iadd
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
         2: .line 585
            goto 4
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
         3: pop
         4: .line 589
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int bytesTransferred
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    5     0              this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;
            0    5     1  bytesTransferred  I
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.IllegalArgumentException
    MethodParameters:
                  Name  Flags
      bytesTransferred  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=8, args_size=1
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
         0: .line 593
            iconst_m1
            istore 1 /* n */
        start local 1 // int n
         1: .line 594
            lconst_0
            lstore 2 /* overlapped */
        start local 2 // long overlapped
         2: .line 598
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            instanceof sun.nio.ch.DirectBuffer
            ifeq 6
         3: .line 599
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
         4: .line 600
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            checkcast sun.nio.ch.DirectBuffer
            invokeinterface sun.nio.ch.DirectBuffer.address:()J
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.pos:I
            i2l
            ladd
            lstore 4 /* address */
        start local 4 // long address
         5: .line 601
            goto 11
        end local 4 // long address
         6: .line 602
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.rem:I
            invokestatic sun.nio.ch.Util.getTemporaryDirectBuffer:(I)Ljava/nio/ByteBuffer;
            putfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
         7: .line 603
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         8: .line 604
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         9: .line 607
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.src:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.pos:I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        10: .line 608
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.buf:Ljava/nio/ByteBuffer;
            checkcast sun.nio.ch.DirectBuffer
            invokeinterface sun.nio.ch.DirectBuffer.address:()J
            lstore 4 /* address */
        start local 4 // long address
        11: .line 612
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.begin:()V
        12: .line 615
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.ioCache:Lsun/nio/ch/PendingIoCache;
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            invokevirtual sun.nio.ch.PendingIoCache.add:(Lsun/nio/ch/PendingFuture;)J
            lstore 2 /* overlapped */
        13: .line 618
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.handle:J
            lload 4 /* address */
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.rem:I
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.position:J
            lload 2 /* overlapped */
            invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.writeFile:(JJIJJ)I
            istore 1 /* n */
        14: .line 619
            iload 1 /* n */
            bipush -2
            if_icmpne 17
        15: .line 636
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
        16: .line 621
            return
        17: .line 623
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unexpected result: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* n */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 626
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6 /* x */
        start local 6 // java.lang.Throwable x
        19: .line 628
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            aload 6 /* x */
            invokestatic sun.nio.ch.WindowsAsynchronousFileChannelImpl.toIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
            invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
        20: .line 631
            lload 2 /* overlapped */
            lconst_0
            lcmp
            ifeq 22
        21: .line 632
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl.ioCache:Lsun/nio/ch/PendingIoCache;
            lload 2 /* overlapped */
            invokevirtual sun.nio.ch.PendingIoCache.remove:(J)Lsun/nio/ch/PendingFuture;
            pop
        22: .line 633
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.releaseBufferIfSubstituted:()V
        end local 6 // java.lang.Throwable x
        23: .line 636
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
            goto 27
        24: .line 635
      StackMap locals: sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask int long long
      StackMap stack: java.lang.Throwable
            astore 7
        25: .line 636
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.end:()V
        26: .line 637
            aload 7
            athrow
        27: .line 640
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
        28: .line 641
            return
        end local 4 // long address
        end local 2 // long overlapped
        end local 1 // int n
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   29     0        this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;
            1   29     1           n  I
            2   29     2  overlapped  J
            5    6     4     address  J
           11   29     4     address  J
           19   23     6           x  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
          11    15      18  Class java.lang.Throwable
          17    18      18  Class java.lang.Throwable
          11    15      24  any
          17    23      24  any

  public void completed(int, boolean);
    descriptor: (IZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
        start local 1 // int bytesTransferred
        start local 2 // boolean canInvokeDirect
         0: .line 648
            aload 0 /* this */
            iload 1 /* bytesTransferred */
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.updatePosition:(I)V
         1: .line 651
            aload 0 /* this */
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.releaseBufferIfSubstituted:()V
         2: .line 654
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            iload 1 /* bytesTransferred */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual sun.nio.ch.PendingFuture.setResult:(Ljava/lang/Object;)V
         3: .line 655
            iload 2 /* canInvokeDirect */
            ifeq 6
         4: .line 656
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            invokestatic sun.nio.ch.Invoker.invokeUnchecked:(Lsun/nio/ch/PendingFuture;)V
         5: .line 657
            goto 7
         6: .line 658
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
         7: .line 660
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean canInvokeDirect
        end local 1 // int bytesTransferred
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    8     0              this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;
            0    8     1  bytesTransferred  I
            0    8     2   canInvokeDirect  Z
    MethodParameters:
                  Name  Flags
      bytesTransferred  
      canInvokeDirect   

  public void failed(int, java.io.IOException);
    descriptor: (ILjava/io/IOException;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
        start local 1 // int error
        start local 2 // java.io.IOException x
         0: .line 665
            aload 0 /* this */
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.releaseBufferIfSubstituted:()V
         1: .line 668
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.this$0:Lsun/nio/ch/WindowsAsynchronousFileChannelImpl;
            invokevirtual sun.nio.ch.WindowsAsynchronousFileChannelImpl.isOpen:()Z
            ifeq 4
         2: .line 669
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            aload 2 /* x */
            invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
         3: .line 670
            goto 5
         4: .line 671
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            new java.nio.channels.AsynchronousCloseException
            dup
            invokespecial java.nio.channels.AsynchronousCloseException.<init>:()V
            invokevirtual sun.nio.ch.PendingFuture.setFailure:(Ljava/lang/Throwable;)V
         5: .line 673
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask.result:Lsun/nio/ch/PendingFuture;
            invokestatic sun.nio.ch.Invoker.invoke:(Lsun/nio/ch/PendingFuture;)V
         6: .line 674
            return
        end local 2 // java.io.IOException x
        end local 1 // int error
        end local 0 // sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Lsun/nio/ch/WindowsAsynchronousFileChannelImpl$WriteTask<TA;>;
            0    7     1  error  I
            0    7     2      x  Ljava/io/IOException;
    MethodParameters:
       Name  Flags
      error  
      x      
}
Signature: <A:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Runnable;Lsun/nio/ch/Iocp$ResultHandler;
SourceFile: "WindowsAsynchronousFileChannelImpl.java"
NestHost: sun.nio.ch.WindowsAsynchronousFileChannelImpl
InnerClasses:
  abstract ResultHandler = sun.nio.ch.Iocp$ResultHandler of sun.nio.ch.Iocp
  private WriteTask = sun.nio.ch.WindowsAsynchronousFileChannelImpl$WriteTask of sun.nio.ch.WindowsAsynchronousFileChannelImpl