class jdk.incubator.http.ResponseSubscribers$PathSubscriber implements jdk.incubator.http.HttpResponse$BodySubscriber<java.nio.file.Path>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.ResponseSubscribers$PathSubscriber
  super_class: java.lang.Object
{
  private final java.nio.file.Path file;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.CompletableFuture<java.nio.file.Path> result;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<Ljava/nio/file/Path;>;

  private volatile java.util.concurrent.Flow$Subscription subscription;
    descriptor: Ljava/util/concurrent/Flow$Subscription;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.nio.channels.FileChannel out;
    descriptor: Ljava/nio/channels/FileChannel;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.security.AccessControlContext acc;
    descriptor: Ljava/security/AccessControlContext;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final java.nio.file.OpenOption[] options;
    descriptor: [Ljava/nio/file/OpenOption;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.nio.file.Path, java.nio.file.OpenOption[]);
    descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)V
    flags: (0x0080) ACC_VARARGS
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
        start local 1 // java.nio.file.Path file
        start local 2 // java.nio.file.OpenOption[] options
         0: .line 118
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 111
            aload 0 /* this */
            new jdk.incubator.http.internal.common.MinimalFuture
            dup
            invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
         2: .line 119
            aload 0 /* this */
            aload 1 /* file */
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.file:Ljava/nio/file/Path;
         3: .line 120
            aload 0 /* this */
            aload 2 /* options */
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.options:[Ljava/nio/file/OpenOption;
         4: .line 121
            return
        end local 2 // java.nio.file.OpenOption[] options
        end local 1 // java.nio.file.Path file
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
            0    5     1     file  Ljava/nio/file/Path;
            0    5     2  options  [Ljava/nio/file/OpenOption;
    MethodParameters:
         Name  Flags
      file     
      options  

  void setAccessControlContext(java.security.AccessControlContext);
    descriptor: (Ljava/security/AccessControlContext;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
        start local 1 // java.security.AccessControlContext acc
         0: .line 124
            aload 0 /* this */
            aload 1 /* acc */
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.acc:Ljava/security/AccessControlContext;
         1: .line 125
            return
        end local 1 // java.security.AccessControlContext acc
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
            0    2     1   acc  Ljava/security/AccessControlContext;
    MethodParameters:
      Name  Flags
      acc   

  public void onSubscribe(java.util.concurrent.Flow$Subscription);
    descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
        start local 1 // java.util.concurrent.Flow$Subscription subscription
         0: .line 129
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnull 4
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.acc:Ljava/security/AccessControlContext;
            ifnonnull 4
         1: .line 130
            new java.lang.InternalError
            dup
         2: .line 131
            ldc "Unexpected null acc when security manager has been installed"
         3: .line 130
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* subscription */
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
         5: .line 136
            aload 0 /* this */
            invokedynamic run(Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;)Ljava/security/PrivilegedExceptionAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/incubator/http/ResponseSubscribers$PathSubscriber.lambda$0()Ljava/nio/channels/FileChannel; (7)
                  ()Ljava/nio/channels/FileChannel;
         6: .line 135
            astore 2 /* pa */
        start local 2 // java.security.PrivilegedExceptionAction pa
         7: .line 137
            aload 0 /* this */
            aload 2 /* pa */
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.acc:Ljava/security/AccessControlContext;
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
            checkcast java.nio.channels.FileChannel
            putfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.out:Ljava/nio/channels/FileChannel;
        end local 2 // java.security.PrivilegedExceptionAction pa
         8: .line 138
            goto 16
      StackMap locals:
      StackMap stack: java.security.PrivilegedActionException
         9: astore 2 /* pae */
        start local 2 // java.security.PrivilegedActionException pae
        10: .line 139
            aload 2 /* pae */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            ifnull 11
            aload 2 /* pae */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            goto 12
      StackMap locals: java.security.PrivilegedActionException
      StackMap stack:
        11: aload 2 /* pae */
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        13: .line 140
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
            aload 3 /* t */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        14: .line 141
            aload 1 /* subscription */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        15: .line 142
            return
        end local 3 // java.lang.Throwable t
        end local 2 // java.security.PrivilegedActionException pae
        16: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* subscription */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        17: .line 145
            return
        end local 1 // java.util.concurrent.Flow$Subscription subscription
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   18     0          this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
            0   18     1  subscription  Ljava/util/concurrent/Flow$Subscription;
            7    8     2            pa  Ljava/security/PrivilegedExceptionAction<Ljava/nio/channels/FileChannel;>;
           10   16     2           pae  Ljava/security/PrivilegedActionException;
           13   16     3             t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           5     8       9  Class java.security.PrivilegedActionException
    MethodParameters:
              Name  Flags
      subscription  

  public void onNext(java.util.List<java.nio.ByteBuffer>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
        start local 1 // java.util.List items
         0: .line 150
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.out:Ljava/nio/channels/FileChannel;
            aload 1 /* items */
            getstatic jdk.incubator.http.internal.common.Utils.EMPTY_BB_ARRAY:[Ljava/nio/ByteBuffer;
            invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.nio.ByteBuffer[]
            invokevirtual java.nio.channels.FileChannel.write:([Ljava/nio/ByteBuffer;)J
            pop2
         1: .line 151
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         2: astore 2 /* ex */
        start local 2 // java.io.IOException ex
         3: iconst_1
            anewarray java.io.Closeable
            dup
            iconst_0
         4: .line 152
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.out:Ljava/nio/channels/FileChannel;
            aastore
            invokestatic jdk.incubator.http.internal.common.Utils.close:([Ljava/io/Closeable;)V
         5: .line 153
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         6: .line 154
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
            aload 2 /* ex */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
        end local 2 // java.io.IOException ex
         7: .line 156
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.subscription:Ljava/util/concurrent/Flow$Subscription;
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
         8: .line 157
            return
        end local 1 // java.util.List items
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
            0    9     1  items  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            3    7     2     ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
       Name  Flags
      items  

  public void onError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
        start local 1 // java.lang.Throwable e
         0: .line 161
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
            aload 1 /* e */
            invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
            pop
            iconst_1
            anewarray java.io.Closeable
            dup
            iconst_0
         1: .line 162
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.out:Ljava/nio/channels/FileChannel;
            aastore
            invokestatic jdk.incubator.http.internal.common.Utils.close:([Ljava/io/Closeable;)V
         2: .line 163
            return
        end local 1 // java.lang.Throwable e
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
            0    3     1     e  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      e     

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
         0: .line 169
            iconst_1
            anewarray java.io.Closeable
            dup
            iconst_0
         1: .line 167
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.out:Ljava/nio/channels/FileChannel;
            aastore
            invokestatic jdk.incubator.http.internal.common.Utils.close:([Ljava/io/Closeable;)V
         2: .line 168
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.file:Ljava/nio/file/Path;
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            pop
            return
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;

  public java.util.concurrent.CompletionStage<java.nio.file.Path> getBody();
    descriptor: ()Ljava/util/concurrent/CompletionStage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
         0: .line 173
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.result:Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
    Signature: ()Ljava/util/concurrent/CompletionStage<Ljava/nio/file/Path;>;

  public void onNext(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast java.util.List
            invokevirtual jdk.incubator.http.ResponseSubscribers$PathSubscriber.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private java.nio.channels.FileChannel lambda$0();
    descriptor: ()Ljava/nio/channels/FileChannel;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
         0: .line 136
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.file:Ljava/nio/file/Path;
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseSubscribers$PathSubscriber.options:[Ljava/nio/file/OpenOption;
            invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
            areturn
        end local 0 // jdk.incubator.http.ResponseSubscribers$PathSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/ResponseSubscribers$PathSubscriber;
    Exceptions:
      throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljdk/incubator/http/HttpResponse$BodySubscriber<Ljava/nio/file/Path;>;
SourceFile: "ResponseSubscribers.java"
NestHost: jdk.incubator.http.ResponseSubscribers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  public abstract BodySubscriber = jdk.incubator.http.HttpResponse$BodySubscriber of jdk.incubator.http.HttpResponse
  PathSubscriber = jdk.incubator.http.ResponseSubscribers$PathSubscriber of jdk.incubator.http.ResponseSubscribers