public class jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream extends java.io.InputStream implements java.net.http.HttpResponse$BodySubscriber<java.io.InputStream>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
  super_class: java.io.InputStream
{
  static final int MAX_BUFFERS_IN_QUEUE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final java.nio.ByteBuffer LAST_BUFFER;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.List<java.nio.ByteBuffer> LAST_LIST;
    descriptor: Ljava/util/List;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;

  private static final jdk.internal.net.http.common.Logger debug;
    descriptor: Ljdk/internal/net/http/common/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.BlockingQueue<java.util.List<java.nio.ByteBuffer>> buffers;
    descriptor: Ljava/util/concurrent/BlockingQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/BlockingQueue<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;

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

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.lang.Throwable failed;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.util.Iterator<java.nio.ByteBuffer> currentListItr;
    descriptor: Ljava/util/Iterator;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: Ljava/util/Iterator<Ljava/nio/ByteBuffer;>;

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

  private final java.util.concurrent.atomic.AtomicBoolean subscribed;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 294
            ldc Ljdk/internal/net/http/ResponseSubscribers;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
         3: .line 300
            iconst_0
            newarray 8
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
         4: .line 301
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
         5: .line 303
            ldc "HttpResponseInputStream"
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
              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;
                  java/lang/String.toString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
            invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
         6: .line 302
            putstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
         7: .line 303
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 315
            aload 0 /* this */
            iconst_1
            invokespecial jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.<init>:(I)V
         1: .line 316
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // int maxBuffers
         0: .line 318
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 312
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 319
            iload 1 /* maxBuffers */
            ifgt 3
            iconst_1
            goto 4
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream int
      StackMap stack:
         3: iload 1 /* maxBuffers */
      StackMap locals:
      StackMap stack: int
         4: istore 2 /* capacity */
        start local 2 // int capacity
         5: .line 321
            aload 0 /* this */
            new java.util.concurrent.ArrayBlockingQueue
            dup
            iload 2 /* capacity */
            iconst_1
            iadd
            invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
         6: .line 322
            return
        end local 2 // int capacity
        end local 1 // int maxBuffers
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    7     1  maxBuffers  I
            5    7     2    capacity  I
    MethodParameters:
            Name  Flags
      maxBuffers  

  public java.util.concurrent.CompletionStage<java.io.InputStream> getBody();
    descriptor: ()Ljava/util/concurrent/CompletionStage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 330
            aload 0 /* this */
            invokestatic java.util.concurrent.CompletableFuture.completedStage:(Ljava/lang/Object;)Ljava/util/concurrent/CompletionStage;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
    Signature: ()Ljava/util/concurrent/CompletionStage<Ljava/io/InputStream;>;

  private java.nio.ByteBuffer current();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 339
            goto 28
         1: .line 341
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifne 2
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            ifnull 3
         2: .line 342
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "closed"
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
         3: .line 344
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 4
            goto 29
         4: .line 347
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnull 5
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 22
         5: .line 351
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 6
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Taking list of Buffers"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         6: .line 352
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
            checkcast java.util.List
            astore 1 /* lb */
        start local 1 // java.util.List lb
         7: .line 353
            aload 0 /* this */
            aload 1 /* lb */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
         8: .line 354
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 9
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "List of Buffers Taken"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         9: .line 357
      StackMap locals: java.util.List
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifne 10
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            ifnull 11
        10: .line 358
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "closed"
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        11: .line 361
      StackMap locals:
      StackMap stack:
            aload 1 /* lb */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            if_acmpne 15
        12: .line 362
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
        13: .line 363
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
        14: .line 364
            goto 29
        15: .line 368
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
            astore 2 /* s */
        start local 2 // java.util.concurrent.Flow$Subscription s
        16: .line 369
            aload 2 /* s */
            ifnull 19
        17: .line 370
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 18
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Increased demand by 1"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        18: .line 371
      StackMap locals: java.util.concurrent.Flow$Subscription
      StackMap stack:
            aload 2 /* s */
            lconst_1
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        19: .line 373
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 20
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnonnull 20
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        20: .line 374
      StackMap locals:
      StackMap stack:
            aload 1 /* lb */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 22
        21: goto 28
        end local 2 // java.util.concurrent.Flow$Subscription s
        end local 1 // java.util.List lb
        22: .line 376
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 23
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            ifnonnull 23
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        23: .line 377
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 24
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 24
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        24: .line 378
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 25
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Next Buffer"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        25: .line 379
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentListItr:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
        26: .line 380
            goto 28
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        27: pop
        28: .line 339
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            ifnull 1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 1
        29: .line 384
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 30
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpeq 30
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 30
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        30: .line 385
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.currentBuffer:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   31     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            7   22     1    lb  Ljava/util/List<Ljava/nio/ByteBuffer;>;
           16   22     2     s  Ljava/util/concurrent/Flow$Subscription;
      Exception table:
        from    to  target  type
           4    14      27  Class java.lang.InterruptedException
          15    21      27  Class java.lang.InterruptedException
          22    26      27  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // byte[] bytes
        start local 2 // int off
        start local 3 // int len
         0: .line 393
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.current:()Ljava/nio/ByteBuffer;
            dup
            astore 4 /* buffer */
        start local 4 // java.nio.ByteBuffer buffer
         1: getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 2
            iconst_m1
            ireturn
         2: .line 397
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 3 /* len */
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* read */
        start local 5 // int read
         3: .line 398
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 5
            iload 5 /* read */
            ifle 4
            iload 5 /* read */
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            if_icmple 5
      StackMap locals: int
      StackMap stack:
         4: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 401
      StackMap locals:
      StackMap stack:
            aload 4 /* buffer */
            aload 1 /* bytes */
            iload 2 /* off */
            iload 5 /* read */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
         6: .line 402
            iload 5 /* read */
            ireturn
        end local 5 // int read
        end local 4 // java.nio.ByteBuffer buffer
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] bytes
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    7     1   bytes  [B
            0    7     2     off  I
            0    7     3     len  I
            1    7     4  buffer  Ljava/nio/ByteBuffer;
            3    7     5    read  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  
      off    
      len    

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 408
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.current:()Ljava/nio/ByteBuffer;
            dup
            astore 1 /* buffer */
        start local 1 // java.nio.ByteBuffer buffer
         1: getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_BUFFER:Ljava/nio/ByteBuffer;
            if_acmpne 2
            iconst_m1
            ireturn
         2: .line 409
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.get:()B
            sipush 255
            iand
            ireturn
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            1    3     1  buffer  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException

  public void onSubscribe(java.util.concurrent.Flow$Subscription);
    descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.util.concurrent.Flow$Subscription s
         0: .line 415
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscribed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 3
         1: .line 416
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
         2: .line 417
            goto 31
         3: .line 422
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         4: .line 423
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            istore 2 /* closed */
        start local 2 // boolean closed
         5: .line 424
            iload 2 /* closed */
            ifne 7
         6: .line 425
            aload 0 /* this */
            aload 1 /* s */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         7: .line 422
      StackMap locals: int jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack:
            aload 3
            monitorexit
         8: goto 11
        end local 2 // boolean closed
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription top jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack: java.lang.Throwable
         9: aload 3
            monitorexit
        10: athrow
        start local 2 // boolean closed
        11: .line 428
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription int
      StackMap stack:
            iload 2 /* closed */
            ifeq 14
        12: .line 429
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        13: .line 430
            return
        14: .line 432
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.$assertionsDisabled:Z
            ifne 15
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            if_icmpgt 15
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        15: .line 433
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 19
        16: .line 434
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "onSubscribe: requesting "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        17: .line 435
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            isub
            invokestatic java.lang.Math.max:(II)I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        18: .line 434
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
        19: .line 436
      StackMap locals:
      StackMap stack:
            aload 1 /* s */
            iconst_1
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
            iconst_1
            isub
            invokestatic java.lang.Math.max:(II)I
            i2l
            invokeinterface java.util.concurrent.Flow$Subscription.request:(J)V
        end local 2 // boolean closed
        20: .line 438
            goto 31
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription
      StackMap stack: java.lang.Throwable
        21: astore 2 /* t */
        start local 2 // java.lang.Throwable t
        22: .line 439
            aload 0 /* this */
            aload 2 /* t */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
        23: .line 441
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.close:()V
        24: .line 442
            goto 30
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription java.lang.Throwable
      StackMap stack: java.io.IOException
        25: pop
        26: .line 445
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
            goto 31
        27: .line 444
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        28: .line 445
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        29: .line 446
            aload 3
            athrow
        30: .line 445
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* t */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable t
        31: .line 448
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.concurrent.Flow$Subscription s
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   32     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0   32     1       s  Ljava/util/concurrent/Flow$Subscription;
            5    9     2  closed  Z
           11   20     2  closed  Z
           22   31     2       t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           4     8       9  any
           9    10       9  any
           0    13      21  Class java.lang.Throwable
          14    20      21  Class java.lang.Throwable
          23    24      25  Class java.io.IOException
          23    26      27  any
    MethodParameters:
      Name  Flags
      s     

  public void onNext(java.util.List<java.nio.ByteBuffer>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.util.List t
         0: .line 452
            aload 1 /* t */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 454
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "next item received"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 455
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            aload 1 /* t */
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 456
            new java.lang.IllegalStateException
            dup
            ldc "queue is full"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 458
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 16
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.debug:Ljdk/internal/net/http/common/Logger;
            ldc "item offered"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         5: .line 459
            goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 2 /* ex */
        start local 2 // java.lang.Throwable ex
         7: .line 460
            aload 0 /* this */
            aload 2 /* ex */
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
         8: .line 462
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.close:()V
         9: .line 463
            goto 15
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.List java.lang.Throwable
      StackMap stack: java.io.IOException
        10: pop
        11: .line 466
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
            goto 16
        12: .line 465
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
        13: .line 466
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        14: .line 467
            aload 3
            athrow
        15: .line 466
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* ex */
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onError:(Ljava/lang/Throwable;)V
        end local 2 // java.lang.Throwable ex
        16: .line 469
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.List t
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0   17     1     t  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            7   16     2    ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     5       6  Class java.lang.Throwable
           8     9      10  Class java.io.IOException
           8    11      12  any
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
      Name  Flags
      t     

  public void onError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
        start local 1 // java.lang.Throwable thrwbl
         0: .line 473
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         1: .line 474
            aload 0 /* this */
            aload 1 /* thrwbl */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Throwable
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.failed:Ljava/lang/Throwable;
         2: .line 482
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
         3: .line 483
            return
        end local 1 // java.lang.Throwable thrwbl
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            0    4     1  thrwbl  Ljava/lang/Throwable;
    MethodParameters:
        Name  Flags
      thrwbl  

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 487
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         1: .line 488
            aload 0 /* this */
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokevirtual jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onNext:(Ljava/util/List;)V
         2: .line 489
            return
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
         0: .line 494
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 495
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
            ifeq 3
            aload 2
            monitorexit
         2: return
         3: .line 496
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream top jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.closed:Z
         4: .line 497
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
            astore 1 /* s */
        start local 1 // java.util.concurrent.Flow$Subscription s
         5: .line 498
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.subscription:Ljava/util/concurrent/Flow$Subscription;
         6: .line 494
            aload 2
            monitorexit
         7: goto 10
        end local 1 // java.util.concurrent.Flow$Subscription s
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        start local 1 // java.util.concurrent.Flow$Subscription s
        10: .line 502
      StackMap locals: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream java.util.concurrent.Flow$Subscription
      StackMap stack:
            aload 1 /* s */
            ifnull 17
        11: .line 503
            aload 1 /* s */
            invokeinterface java.util.concurrent.Flow$Subscription.cancel:()V
        12: .line 505
            goto 17
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 2
        14: .line 506
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
        15: .line 507
            aload 0 /* this */
            invokespecial java.io.InputStream.close:()V
        16: .line 508
            aload 2
            athrow
        17: .line 506
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.buffers:Ljava/util/concurrent/BlockingQueue;
            getstatic jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream.LAST_LIST:Ljava/util/List;
            invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
            pop
        18: .line 507
            aload 0 /* this */
            invokespecial java.io.InputStream.close:()V
        19: .line 509
            return
        end local 1 // java.util.concurrent.Flow$Subscription s
        end local 0 // jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljdk/internal/net/http/ResponseSubscribers$HttpResponseInputStream;
            5    8     1     s  Ljava/util/concurrent/Flow$Subscription;
           10   20     1     s  Ljava/util/concurrent/Flow$Subscription;
      Exception table:
        from    to  target  type
           1     2       8  any
           3     7       8  any
           8     9       8  any
          10    13      13  any
    Exceptions:
      throws java.io.IOException

  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.internal.net.http.ResponseSubscribers$HttpResponseInputStream.onNext:(Ljava/util/List;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/io/InputStream;Ljava/net/http/HttpResponse$BodySubscriber<Ljava/io/InputStream;>;
SourceFile: "ResponseSubscribers.java"
NestHost: jdk.internal.net.http.ResponseSubscribers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
  public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
  public HttpResponseInputStream = jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream of jdk.internal.net.http.ResponseSubscribers