class jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser implements jdk.internal.net.http.ResponseContent$BodyParser
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser
  super_class: java.lang.Object
{
  final java.util.function.Consumer<java.lang.Throwable> onComplete;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljava/lang/Throwable;>;

  final jdk.internal.net.http.common.Logger debug;
    descriptor: Ljdk/internal/net/http/common/Logger;
    flags: (0x0010) ACC_FINAL

  final java.lang.String dbgTag;
    descriptor: Ljava/lang/String;
    flags: (0x0010) ACC_FINAL

  volatile java.lang.Throwable closedExceptionally;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0040) ACC_VOLATILE

  volatile jdk.internal.net.http.AbstractSubscription sub;
    descriptor: Ljdk/internal/net/http/AbstractSubscription;
    flags: (0x0040) ACC_VOLATILE

  volatile int breceived;
    descriptor: I
    flags: (0x0040) ACC_VOLATILE

  final jdk.internal.net.http.ResponseContent this$0;
    descriptor: Ljdk/internal/net/http/ResponseContent;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  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=1, locals=0, args_size=0
         0: .line 403
            ldc Ljdk/internal/net/http/ResponseContent;
            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.ResponseContent$UnknownLengthBodyParser.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.util.function.Consumer<java.lang.Throwable>);
    descriptor: (Ljdk/internal/net/http/ResponseContent;Ljava/util/function/Consumer;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
        start local 2 // java.util.function.Consumer onComplete
         0: .line 411
            aload 0 /* this */
            aload 1
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 405
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic get(Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;)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;
                  jdk/internal/net/http/ResponseContent$UnknownLengthBodyParser.dbgString()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;
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
         2: .line 406
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 1
            getfield jdk.internal.net.http.ResponseContent.dbgTag:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/UnknownLengthBodyParser"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.dbgTag:Ljava/lang/String;
         3: .line 409
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.breceived:I
         4: .line 412
            aload 0 /* this */
            aload 2 /* onComplete */
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.onComplete:Ljava/util/function/Consumer;
         5: .line 413
            return
        end local 2 // java.util.function.Consumer onComplete
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;
            0    6     2  onComplete  Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
    Signature: (Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
    MethodParameters:
            Name  Flags
      this$0      final
      onComplete  

  java.lang.String dbgString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
         0: .line 416
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.dbgTag:Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;

  public void onSubscribe(jdk.internal.net.http.AbstractSubscription);
    descriptor: (Ljdk/internal/net/http/AbstractSubscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
        start local 1 // jdk.internal.net.http.AbstractSubscription sub
         0: .line 421
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 422
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "onSubscribe: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 423
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            aload 0 /* this */
            aload 1 /* sub */
            dup_x1
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
         3: .line 424
            return
        end local 1 // jdk.internal.net.http.AbstractSubscription sub
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;
            0    4     1   sub  Ljdk/internal/net/http/AbstractSubscription;
    MethodParameters:
      Name  Flags
      sub   

  public java.lang.String currentStateMessage();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
         0: .line 428
            ldc "http1_0 content, bytes received: %d"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.breceived:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;

  public void accept(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
        start local 1 // java.nio.ByteBuffer b
         0: .line 433
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.closedExceptionally:Ljava/lang/Throwable;
            ifnull 4
         1: .line 434
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 3
         2: .line 435
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            new java.lang.StringBuilder
            dup
            ldc "already closed: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.closedExceptionally:Ljava/lang/Throwable;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         3: .line 436
      StackMap locals:
      StackMap stack:
            return
         4: .line 438
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* completed */
        start local 2 // boolean completed
         5: .line 440
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 7
         6: .line 441
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Parser got %d bytes "
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 443
      StackMap locals: int
      StackMap stack:
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 18
         8: .line 447
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
            invokevirtual jdk.internal.net.http.AbstractSubscription.demand:()Ljdk/internal/net/http/common/Demand;
            invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
            istore 3 /* hasDemand */
        start local 3 // boolean hasDemand
         9: .line 448
            getstatic jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.$assertionsDisabled:Z
            ifne 10
            iload 3 /* hasDemand */
            ifne 10
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        10: .line 449
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.breceived:I
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iadd
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.breceived:I
        11: .line 450
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
            invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
        end local 3 // boolean hasDemand
        12: .line 452
            goto 18
      StackMap locals: jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser java.nio.ByteBuffer int
      StackMap stack: java.lang.Throwable
        13: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        14: .line 453
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 15
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Unexpected exception"
            aload 3 /* t */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        15: .line 454
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            aload 3 /* t */
            putfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.closedExceptionally:Ljava/lang/Throwable;
        16: .line 455
            iload 2 /* completed */
            ifne 18
        17: .line 456
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.onComplete:Ljava/util/function/Consumer;
            aload 3 /* t */
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 3 // java.lang.Throwable t
        18: .line 459
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean completed
        end local 1 // java.nio.ByteBuffer b
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;
            0   19     1          b  Ljava/nio/ByteBuffer;
            5   19     2  completed  Z
            9   12     3  hasDemand  Z
           14   18     3          t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           5    12      13  Class java.lang.Throwable
    MethodParameters:
      Name  Flags
      b     

  public void complete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
         0: .line 467
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 468
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Parser got all expected bytes: completing"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 469
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.$assertionsDisabled:Z
            ifne 3
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.closedExceptionally:Ljava/lang/Throwable;
            ifnull 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 470
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.onFinished:Ljava/lang/Runnable;
            invokeinterface java.lang.Runnable.run:()V
         4: .line 471
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
            getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
            invokeinterface java.net.http.HttpResponse$BodySubscriber.onComplete:()V
         5: .line 472
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.onComplete:Ljava/util/function/Consumer;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.closedExceptionally:Ljava/lang/Throwable;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         6: .line 473
            return
        end local 0 // jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/ResponseContent$UnknownLengthBodyParser;

  public void accept(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.nio.ByteBuffer
            invokevirtual jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser.accept:(Ljava/nio/ByteBuffer;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ResponseContent.java"
NestHost: jdk.internal.net.http.ResponseContent
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
  abstract BodyParser = jdk.internal.net.http.ResponseContent$BodyParser of jdk.internal.net.http.ResponseContent
  UnknownLengthBodyParser = jdk.internal.net.http.ResponseContent$UnknownLengthBodyParser of jdk.internal.net.http.ResponseContent