public final class jdk.internal.net.http.websocket.WebSocketImpl implements java.net.http.WebSocket
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.net.http.websocket.WebSocketImpl
  super_class: java.lang.Object
{
  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.atomic.AtomicLong sendCounter;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  private final jdk.internal.net.http.common.MinimalFuture<java.net.http.WebSocket> DONE;
    descriptor: Ljdk/internal/net/http/common/MinimalFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljdk/internal/net/http/common/MinimalFuture<Ljava/net/http/WebSocket;>;

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

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

  private final java.util.concurrent.atomic.AtomicReference<jdk.internal.net.http.websocket.WebSocketImpl$State> state;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljdk/internal/net/http/websocket/WebSocketImpl$State;>;

  private boolean last;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.nio.ByteBuffer binaryData;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.CharSequence text;
    descriptor: Ljava/lang/CharSequence;
    flags: (0x0002) ACC_PRIVATE

  private int statusCode;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String reason;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> error;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;

  private final java.net.URI uri;
    descriptor: Ljava/net/URI;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String subprotocol;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.net.http.WebSocket$Listener listener;
    descriptor: Ljava/net/http/WebSocket$Listener;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  private final jdk.internal.net.http.websocket.Transport transport;
    descriptor: Ljdk/internal/net/http/websocket/Transport;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.internal.net.http.common.SequentialScheduler receiveScheduler;
    descriptor: Ljdk/internal/net/http/common/SequentialScheduler;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.internal.net.http.common.Demand demand;
    descriptor: Ljdk/internal/net/http/common/Demand;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 77
            ldc "[WebSocket]"
            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_WS:Z
            invokestatic jdk.internal.net.http.common.Utils.getWebSocketLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
         1: .line 76
            putstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
         2: .line 77
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.util.concurrent.CompletableFuture<java.net.http.WebSocket> newInstanceAsync(jdk.internal.net.http.websocket.BuilderImpl);
    descriptor: (Ljdk/internal/net/http/websocket/BuilderImpl;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // jdk.internal.net.http.websocket.BuilderImpl b
         0: .line 120
            aload 0 /* b */
            invokedynamic apply(Ljdk/internal/net/http/websocket/BuilderImpl;)Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$1(Ljdk/internal/net/http/websocket/BuilderImpl;Ljdk/internal/net/http/websocket/OpeningHandshake$Result;)Ljava/net/http/WebSocket; (6)
                  (Ljdk/internal/net/http/websocket/OpeningHandshake$Result;)Ljava/net/http/WebSocket;
            astore 1 /* newWebSocket */
        start local 1 // java.util.function.Function newWebSocket
         1: .line 134
            new jdk.internal.net.http.websocket.OpeningHandshake
            dup
            aload 0 /* b */
            invokespecial jdk.internal.net.http.websocket.OpeningHandshake.<init>:(Ljdk/internal/net/http/websocket/BuilderImpl;)V
            astore 2 /* h */
        start local 2 // jdk.internal.net.http.websocket.OpeningHandshake h
         2: .line 135
            goto 5
        end local 2 // jdk.internal.net.http.websocket.OpeningHandshake h
      StackMap locals: jdk.internal.net.http.websocket.BuilderImpl java.util.function.Function
      StackMap stack: java.lang.Throwable
         3: astore 3 /* e */
        start local 3 // java.lang.Throwable e
         4: .line 136
            aload 3 /* e */
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 3 // java.lang.Throwable e
        start local 2 // jdk.internal.net.http.websocket.OpeningHandshake h
         5: .line 138
      StackMap locals: jdk.internal.net.http.websocket.OpeningHandshake
      StackMap stack:
            aload 2 /* h */
            invokevirtual jdk.internal.net.http.websocket.OpeningHandshake.send:()Ljava/util/concurrent/CompletableFuture;
            aload 1 /* newWebSocket */
            invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 2 // jdk.internal.net.http.websocket.OpeningHandshake h
        end local 1 // java.util.function.Function newWebSocket
        end local 0 // jdk.internal.net.http.websocket.BuilderImpl b
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0             b  Ljdk/internal/net/http/websocket/BuilderImpl;
            1    6     1  newWebSocket  Ljava/util/function/Function<Ljdk/internal/net/http/websocket/OpeningHandshake$Result;Ljava/net/http/WebSocket;>;
            2    3     2             h  Ljdk/internal/net/http/websocket/OpeningHandshake;
            5    6     2             h  Ljdk/internal/net/http/websocket/OpeningHandshake;
            4    5     3             e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Throwable
    Signature: (Ljdk/internal/net/http/websocket/BuilderImpl;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
      Name  Flags
      b     

  static jdk.internal.net.http.websocket.WebSocketImpl newInstance(java.net.URI, java.lang.String, java.net.http.WebSocket$Listener, jdk.internal.net.http.websocket.TransportFactory);
    descriptor: (Ljava/net/URI;Ljava/lang/String;Ljava/net/http/WebSocket$Listener;Ljdk/internal/net/http/websocket/TransportFactory;)Ljdk/internal/net/http/websocket/WebSocketImpl;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // java.net.URI uri
        start local 1 // java.lang.String subprotocol
        start local 2 // java.net.http.WebSocket$Listener listener
        start local 3 // jdk.internal.net.http.websocket.TransportFactory transport
         0: .line 146
            new jdk.internal.net.http.websocket.WebSocketImpl
            dup
            aload 0 /* uri */
            aload 1 /* subprotocol */
            aload 2 /* listener */
            aload 3 /* transport */
            invokespecial jdk.internal.net.http.websocket.WebSocketImpl.<init>:(Ljava/net/URI;Ljava/lang/String;Ljava/net/http/WebSocket$Listener;Ljdk/internal/net/http/websocket/TransportFactory;)V
            astore 4 /* ws */
        start local 4 // jdk.internal.net.http.websocket.WebSocketImpl ws
         1: .line 149
            aload 4 /* ws */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.signalOpen:()V
         2: .line 150
            aload 4 /* ws */
            areturn
        end local 4 // jdk.internal.net.http.websocket.WebSocketImpl ws
        end local 3 // jdk.internal.net.http.websocket.TransportFactory transport
        end local 2 // java.net.http.WebSocket$Listener listener
        end local 1 // java.lang.String subprotocol
        end local 0 // java.net.URI uri
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0          uri  Ljava/net/URI;
            0    3     1  subprotocol  Ljava/lang/String;
            0    3     2     listener  Ljava/net/http/WebSocket$Listener;
            0    3     3    transport  Ljdk/internal/net/http/websocket/TransportFactory;
            1    3     4           ws  Ljdk/internal/net/http/websocket/WebSocketImpl;
    MethodParameters:
             Name  Flags
      uri          
      subprotocol  
      listener     
      transport    

  private void <init>(java.net.URI, java.lang.String, java.net.http.WebSocket$Listener, jdk.internal.net.http.websocket.TransportFactory);
    descriptor: (Ljava/net/URI;Ljava/lang/String;Ljava/net/http/WebSocket$Listener;Ljdk/internal/net/http/websocket/TransportFactory;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=5, args_size=5
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.URI uri
        start local 2 // java.lang.String subprotocol
        start local 3 // java.net.http.WebSocket$Listener listener
        start local 4 // jdk.internal.net.http.websocket.TransportFactory transportFactory
         0: .line 153
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 78
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
         2: .line 79
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
         3: .line 93
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
         4: .line 94
            aload 0 /* this */
            aload 0 /* this */
            invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
            putfield jdk.internal.net.http.websocket.WebSocketImpl.DONE:Ljdk/internal/net/http/common/MinimalFuture;
         5: .line 96
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
         6: .line 98
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.OPEN:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.state:Ljava/util/concurrent/atomic/AtomicReference;
         7: .line 106
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.error:Ljava/util/concurrent/atomic/AtomicReference;
         8: .line 112
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.pendingTextOrBinary:Ljava/util/concurrent/atomic/AtomicBoolean;
         9: .line 113
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.pendingPingOrPong:Ljava/util/concurrent/atomic/AtomicBoolean;
        10: .line 115
            aload 0 /* this */
        11: .line 116
            new jdk.internal.net.http.common.SequentialScheduler
            dup
            new jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask
            dup
            aload 0 /* this */
            invokespecial jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.<init>:(Ljdk/internal/net/http/websocket/WebSocketImpl;)V
            invokespecial jdk.internal.net.http.common.SequentialScheduler.<init>:(Ljdk/internal/net/http/common/SequentialScheduler$RestartableTask;)V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
        12: .line 117
            aload 0 /* this */
            new jdk.internal.net.http.common.Demand
            dup
            invokespecial jdk.internal.net.http.common.Demand.<init>:()V
            putfield jdk.internal.net.http.websocket.WebSocketImpl.demand:Ljdk/internal/net/http/common/Demand;
        13: .line 157
            aload 0 /* this */
            aload 1 /* uri */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.net.URI
            putfield jdk.internal.net.http.websocket.WebSocketImpl.uri:Ljava/net/URI;
        14: .line 158
            aload 0 /* this */
            aload 2 /* subprotocol */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            putfield jdk.internal.net.http.websocket.WebSocketImpl.subprotocol:Ljava/lang/String;
        15: .line 159
            aload 0 /* this */
            aload 3 /* listener */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.net.http.WebSocket$Listener
            putfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
        16: .line 164
            aload 0 /* this */
            aload 4 /* transportFactory */
            new jdk.internal.net.http.websocket.MessageQueue
            dup
            bipush 6
            invokespecial jdk.internal.net.http.websocket.MessageQueue.<init>:(I)V
        17: .line 165
            new jdk.internal.net.http.websocket.WebSocketImpl$SignallingMessageConsumer
            dup
            aload 0 /* this */
            invokespecial jdk.internal.net.http.websocket.WebSocketImpl$SignallingMessageConsumer.<init>:(Ljdk/internal/net/http/websocket/WebSocketImpl;)V
        18: .line 164
            invokeinterface jdk.internal.net.http.websocket.TransportFactory.createTransport:(Ljdk/internal/net/http/websocket/MessageQueue;Ljdk/internal/net/http/websocket/MessageStreamConsumer;)Ljdk/internal/net/http/websocket/Transport;
            putfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
        19: .line 166
            return
        end local 4 // jdk.internal.net.http.websocket.TransportFactory transportFactory
        end local 3 // java.net.http.WebSocket$Listener listener
        end local 2 // java.lang.String subprotocol
        end local 1 // java.net.URI uri
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   20     0              this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   20     1               uri  Ljava/net/URI;
            0   20     2       subprotocol  Ljava/lang/String;
            0   20     3          listener  Ljava/net/http/WebSocket$Listener;
            0   20     4  transportFactory  Ljdk/internal/net/http/websocket/TransportFactory;
    MethodParameters:
                  Name  Flags
      uri               
      subprotocol       
      listener          
      transportFactory  

  public java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendText(java.lang.CharSequence, boolean);
    descriptor: (Ljava/lang/CharSequence;Z)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.lang.CharSequence message
        start local 2 // boolean last
         0: .line 173
            aload 1 /* message */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 174
            lconst_0
            lstore 3 /* id */
        start local 3 // long id
         2: .line 175
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 7
         3: .line 176
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            lstore 3 /* id */
         4: .line 177
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "enter send text %s payload length=%s last=%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 178
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 1 /* message */
            invokeinterface java.lang.CharSequence.length:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 2 /* last */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
         6: .line 177
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 181
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.setPendingTextOrBinary:()Z
            ifne 10
         8: .line 182
            new java.lang.IllegalStateException
            dup
            ldc "Send pending"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
         9: .line 183
            goto 13
        end local 5 // java.util.concurrent.CompletableFuture result
        10: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            aload 1 /* message */
            iload 2 /* last */
            aload 0 /* this */
        11: .line 185
            aload 0 /* this */
            invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$2(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (7)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
        12: .line 184
            invokeinterface jdk.internal.net.http.websocket.Transport.sendText:(Ljava/lang/CharSequence;ZLjava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
        13: .line 187
      StackMap locals: java.util.concurrent.CompletableFuture
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 15
        14: .line 188
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exit send text %s returned %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 5 /* result */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        15: .line 191
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* result */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.replaceNull:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 5 // java.util.concurrent.CompletableFuture result
        end local 3 // long id
        end local 2 // boolean last
        end local 1 // java.lang.CharSequence message
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   16     1  message  Ljava/lang/CharSequence;
            0   16     2     last  Z
            2   16     3       id  J
            9   10     5   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           13   16     5   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (Ljava/lang/CharSequence;Z)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  
      last     

  public java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendBinary(java.nio.ByteBuffer, boolean);
    descriptor: (Ljava/nio/ByteBuffer;Z)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.nio.ByteBuffer message
        start local 2 // boolean last
         0: .line 197
            aload 1 /* message */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 198
            lconst_0
            lstore 3 /* id */
        start local 3 // long id
         2: .line 199
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 7
         3: .line 200
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            lstore 3 /* id */
         4: .line 201
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "enter send binary %s payload=%s last=%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 202
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 1 /* message */
            aastore
            dup
            iconst_2
            iload 2 /* last */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
         6: .line 201
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 205
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.setPendingTextOrBinary:()Z
            ifne 10
         8: .line 206
            new java.lang.IllegalStateException
            dup
            ldc "Send pending"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
         9: .line 207
            goto 13
        end local 5 // java.util.concurrent.CompletableFuture result
        10: .line 208
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            aload 1 /* message */
            iload 2 /* last */
            aload 0 /* this */
        11: .line 209
            aload 0 /* this */
            invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$3(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (7)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
        12: .line 208
            invokeinterface jdk.internal.net.http.websocket.Transport.sendBinary:(Ljava/nio/ByteBuffer;ZLjava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
        13: .line 211
      StackMap locals: java.util.concurrent.CompletableFuture
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 15
        14: .line 212
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exit send binary %s returned %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 5 /* result */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        15: .line 214
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* result */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.replaceNull:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 5 // java.util.concurrent.CompletableFuture result
        end local 3 // long id
        end local 2 // boolean last
        end local 1 // java.nio.ByteBuffer message
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   16     1  message  Ljava/nio/ByteBuffer;
            0   16     2     last  Z
            2   16     3       id  J
            9   10     5   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           13   16     5   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (Ljava/nio/ByteBuffer;Z)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  
      last     

  private void clearPendingTextOrBinary();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 218
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.pendingTextOrBinary:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         1: .line 219
            return
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  private boolean setPendingTextOrBinary();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 222
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.pendingTextOrBinary:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ireturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  private java.util.concurrent.CompletableFuture<java.net.http.WebSocket> replaceNull(java.util.concurrent.CompletableFuture<java.net.http.WebSocket>);
    descriptor: (Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.util.concurrent.CompletableFuture cf
         0: .line 228
            aload 1 /* cf */
            ifnonnull 2
         1: .line 229
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.DONE:Ljdk/internal/net/http/common/MinimalFuture;
            areturn
         2: .line 231
      StackMap locals:
      StackMap stack:
            aload 1 /* cf */
            areturn
        end local 1 // java.util.concurrent.CompletableFuture cf
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    3     1    cf  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
      Name  Flags
      cf    

  public java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendPing(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.nio.ByteBuffer message
         0: .line 237
            aload 1 /* message */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 238
            lconst_0
            lstore 2 /* id */
        start local 2 // long id
         2: .line 239
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 5
         3: .line 240
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            lstore 2 /* id */
         4: .line 241
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "enter send ping %s payload=%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 2 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 1 /* message */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 244
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.setPendingPingOrPong:()Z
            ifne 8
         6: .line 245
            new java.lang.IllegalStateException
            dup
            ldc "Send pending"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 4 /* result */
        start local 4 // java.util.concurrent.CompletableFuture result
         7: .line 246
            goto 11
        end local 4 // java.util.concurrent.CompletableFuture result
         8: .line 247
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            aload 1 /* message */
            aload 0 /* this */
         9: .line 248
            aload 0 /* this */
            invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$4(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (7)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
        10: .line 247
            invokeinterface jdk.internal.net.http.websocket.Transport.sendPing:(Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            astore 4 /* result */
        start local 4 // java.util.concurrent.CompletableFuture result
        11: .line 250
      StackMap locals: java.util.concurrent.CompletableFuture
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 13
        12: .line 251
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exit send ping %s returned %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 2 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 4 /* result */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 253
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* result */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.replaceNull:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 4 // java.util.concurrent.CompletableFuture result
        end local 2 // long id
        end local 1 // java.nio.ByteBuffer message
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   14     1  message  Ljava/nio/ByteBuffer;
            2   14     2       id  J
            7    8     4   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           11   14     4   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  

  public java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendPong(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.nio.ByteBuffer message
         0: .line 258
            aload 1 /* message */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 259
            lconst_0
            lstore 2 /* id */
        start local 2 // long id
         2: .line 260
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 5
         3: .line 261
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            lstore 2 /* id */
         4: .line 262
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "enter send pong %s payload=%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 2 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 1 /* message */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 265
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.setPendingPingOrPong:()Z
            ifne 8
         6: .line 266
            new java.lang.IllegalStateException
            dup
            ldc "Send pending"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 4 /* result */
        start local 4 // java.util.concurrent.CompletableFuture result
         7: .line 267
            goto 11
        end local 4 // java.util.concurrent.CompletableFuture result
         8: .line 268
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            aload 1 /* message */
            aload 0 /* this */
         9: .line 269
            aload 0 /* this */
            invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$5(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (7)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
        10: .line 268
            invokeinterface jdk.internal.net.http.websocket.Transport.sendPong:(Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            astore 4 /* result */
        start local 4 // java.util.concurrent.CompletableFuture result
        11: .line 271
      StackMap locals: java.util.concurrent.CompletableFuture
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 13
        12: .line 272
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exit send pong %s returned %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 2 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 4 /* result */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* result */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.replaceNull:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 4 // java.util.concurrent.CompletableFuture result
        end local 2 // long id
        end local 1 // java.nio.ByteBuffer message
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   14     1  message  Ljava/nio/ByteBuffer;
            2   14     2       id  J
            7    8     4   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           11   14     4   result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  

  private boolean setPendingPingOrPong();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 278
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.pendingPingOrPong:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ireturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  private void clearPendingPingOrPong();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 282
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.pendingPingOrPong:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         1: .line 283
            return
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  public java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendClose(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // int statusCode
        start local 2 // java.lang.String reason
         0: .line 288
            aload 2 /* reason */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 289
            lconst_0
            lstore 3 /* id */
        start local 3 // long id
         2: .line 290
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 7
         3: .line 291
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.sendCounter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            lstore 3 /* id */
         4: .line 292
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "enter send close %s statusCode=%s reason.length=%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 293
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            iload 1 /* statusCode */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 2 /* reason */
            invokevirtual java.lang.String.length:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         6: .line 292
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 300
      StackMap locals: long
      StackMap stack:
            iload 1 /* statusCode */
            invokestatic jdk.internal.net.http.websocket.StatusCodes.isLegalToSendFromClient:(I)Z
            ifne 10
         8: .line 301
            new java.lang.IllegalArgumentException
            dup
            ldc "statusCode"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
         9: .line 302
            goto 17
        end local 5 // java.util.concurrent.CompletableFuture result
      StackMap locals:
      StackMap stack:
        10: aload 2 /* reason */
            invokestatic jdk.internal.net.http.websocket.WebSocketImpl.isLegalReason:(Ljava/lang/String;)Z
            ifne 13
        11: .line 303
            new java.lang.IllegalArgumentException
            dup
            ldc "reason"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
        12: .line 304
            goto 17
        end local 5 // java.util.concurrent.CompletableFuture result
      StackMap locals:
      StackMap stack:
        13: aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 16
        14: .line 305
            new java.io.IOException
            dup
            ldc "Output closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
        15: .line 306
            goto 17
        end local 5 // java.util.concurrent.CompletableFuture result
        16: .line 307
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* statusCode */
            aload 2 /* reason */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.sendClose0:(ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture;
            astore 5 /* result */
        start local 5 // java.util.concurrent.CompletableFuture result
        17: .line 309
      StackMap locals: java.util.concurrent.CompletableFuture
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 19
        18: .line 310
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exit send close %s returned %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            lload 3 /* id */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
            aload 5 /* result */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        19: .line 312
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* result */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.replaceNull:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 5 // java.util.concurrent.CompletableFuture result
        end local 3 // long id
        end local 2 // java.lang.String reason
        end local 1 // int statusCode
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   20     0        this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   20     1  statusCode  I
            0   20     2      reason  Ljava/lang/String;
            2   20     3          id  J
            9   10     5      result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           12   13     5      result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           15   16     5      result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
           17   20     5      result  Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    Signature: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
            Name  Flags
      statusCode  
      reason      

  private static boolean isLegalReason(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String reason
         0: .line 316
            aload 0 /* reason */
            invokevirtual java.lang.String.length:()I
            bipush 123
            if_icmple 2
         1: .line 317
            iconst_0
            ireturn
         2: .line 319
      StackMap locals:
      StackMap stack:
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
         3: .line 320
            getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
         4: .line 321
            getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
         5: .line 319
            astore 1 /* encoder */
        start local 1 // java.nio.charset.CharsetEncoder encoder
         6: .line 324
            aload 1 /* encoder */
            aload 0 /* reason */
            invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;)Ljava/nio/ByteBuffer;
            astore 2 /* bytes */
        start local 2 // java.nio.ByteBuffer bytes
         7: .line 325
            goto 10
        end local 2 // java.nio.ByteBuffer bytes
      StackMap locals: java.lang.String java.nio.charset.CharsetEncoder
      StackMap stack: java.nio.charset.CharacterCodingException
         8: pop
         9: .line 326
            iconst_0
            ireturn
        start local 2 // java.nio.ByteBuffer bytes
        10: .line 328
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* bytes */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            bipush 123
            if_icmpgt 11
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        11: iconst_0
            ireturn
        end local 2 // java.nio.ByteBuffer bytes
        end local 1 // java.nio.charset.CharsetEncoder encoder
        end local 0 // java.lang.String reason
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0   reason  Ljava/lang/String;
            6   12     1  encoder  Ljava/nio/charset/CharsetEncoder;
            7    8     2    bytes  Ljava/nio/ByteBuffer;
           10   12     2    bytes  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
           6     7       8  Class java.nio.charset.CharacterCodingException
    MethodParameters:
        Name  Flags
      reason  

  private java.util.concurrent.CompletableFuture<java.net.http.WebSocket> sendClose0(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // int statusCode
        start local 2 // java.lang.String reason
         0: .line 337
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            iload 1 /* statusCode */
            aload 2 /* reason */
            aload 0 /* this */
         1: .line 338
            aload 0 /* this */
            invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$6(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (7)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
         2: .line 337
            invokeinterface jdk.internal.net.http.websocket.Transport.sendClose:(ILjava/lang/String;Ljava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 2 // java.lang.String reason
        end local 1 // int statusCode
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    3     1  statusCode  I
            0    3     2      reason  Ljava/lang/String;
    Signature: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/WebSocket;>;
    MethodParameters:
            Name  Flags
      statusCode  
      reason      

  private void processCloseError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.lang.Throwable e
         0: .line 342
            aload 1 /* e */
            ifnonnull 3
         1: .line 343
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "send close completed successfully"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 344
            goto 4
         3: .line 345
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "send close completed with error"
            aload 1 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
         4: .line 347
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         5: .line 349
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeOutput:()V
         6: .line 350
            goto 8
      StackMap locals:
      StackMap stack: java.io.IOException
         7: pop
         8: .line 351
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable e
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    9     1     e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           5     6       7  Class java.io.IOException
    MethodParameters:
      Name  Flags
      e     

  public void request(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // long n
         0: .line 355
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 356
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "request %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 1 /* n */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         2: .line 358
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.demand:Ljdk/internal/net/http/common/Demand;
            lload 1 /* n */
            invokevirtual jdk.internal.net.http.common.Demand.increase:(J)Z
            ifeq 4
         3: .line 359
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         4: .line 361
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long n
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    5     1     n  J
    MethodParameters:
      Name  Flags
      n     

  public java.lang.String getSubprotocol();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 365
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.subprotocol:Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  public boolean isOutputClosed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 370
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ireturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  public boolean isInputClosed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 375
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.inputClosed:Z
            ireturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  public void abort();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 380
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 381
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "abort"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 383
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.websocket.WebSocketImpl.inputClosed:Z
         3: .line 384
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         4: .line 385
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
         5: .line 386
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.close:()V
         6: .line 387
            return
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 391
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokespecial java.lang.Object.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 392
            ldc "[uri="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.uri:Ljava/net/URI;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
         2: .line 393
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.subprotocol:Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 3
            new java.lang.StringBuilder
            dup
            ldc ", subprotocol="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.subprotocol:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            goto 4
      StackMap locals:
      StackMap stack: java.lang.StringBuilder
         3: ldc ""
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl
      StackMap stack: java.lang.StringBuilder java.lang.String
         4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 394
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         6: .line 391
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  private void sendCloseSilently(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // int statusCode
         0: .line 652
            aload 0 /* this */
            iload 1 /* statusCode */
            ldc ""
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.sendClose0:(ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture;
            invokedynamic accept()Ljava/util/function/BiConsumer;
              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;Ljava/lang/Object;)V
                  jdk/internal/net/http/websocket/WebSocketImpl.lambda$7(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V (6)
                  (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
            invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
            pop
         1: .line 660
            return
        end local 1 // int statusCode
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    2     1  statusCode  I
    MethodParameters:
            Name  Flags
      statusCode  

  private java.nio.ByteBuffer clearAutomaticPong();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 665
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 1 /* data */
        start local 1 // java.nio.ByteBuffer data
         1: .line 666
            aload 1 /* data */
            ifnonnull 3
         2: .line 669
            new java.lang.InternalError
            dup
            invokespecial java.lang.InternalError.<init>:()V
            athrow
         3: .line 671
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* data */
            aconst_null
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 0
         4: .line 672
            aload 1 /* data */
            areturn
        end local 1 // java.nio.ByteBuffer data
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            1    5     1  data  Ljava/nio/ByteBuffer;

  private boolean trySwapAutomaticPong(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.nio.ByteBuffer copy
         0: .line 680
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 2 /* message */
        start local 2 // java.nio.ByteBuffer message
         1: .line 681
            aload 2 /* message */
            ifnonnull 6
         2: .line 682
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
            aconst_null
            aload 1 /* copy */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifne 4
         3: .line 687
            new java.lang.InternalError
            dup
            invokespecial java.lang.InternalError.<init>:()V
            athrow
         4: .line 689
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            iconst_0
            istore 3 /* swapped */
        start local 3 // boolean swapped
         5: .line 690
            goto 8
        end local 3 // boolean swapped
         6: .line 691
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.lastAutomaticPong:Ljava/util/concurrent/atomic/AtomicReference;
            aload 2 /* message */
            aload 1 /* copy */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 0
         7: .line 692
            iconst_1
            istore 3 /* swapped */
        start local 3 // boolean swapped
         8: .line 696
      StackMap locals: int
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 12
         9: .line 697
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "swapped automatic pong from %s to %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        10: .line 698
            aload 2 /* message */
            aastore
            dup
            iconst_1
            aload 1 /* copy */
            aastore
        11: .line 697
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        12: .line 700
      StackMap locals:
      StackMap stack:
            iload 3 /* swapped */
            ireturn
        end local 3 // boolean swapped
        end local 2 // java.nio.ByteBuffer message
        end local 1 // java.nio.ByteBuffer copy
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0     this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   13     1     copy  Ljava/nio/ByteBuffer;
            1   13     2  message  Ljava/nio/ByteBuffer;
            5    6     3  swapped  Z
            8   13     3  swapped  Z
    MethodParameters:
      Name  Flags
      copy  

  private void signalOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 704
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "signalOpen"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         1: .line 705
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         2: .line 706
            return
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  private void signalError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.lang.Throwable error
         0: .line 709
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 710
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "signalError %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* error */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         2: .line 712
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.websocket.WebSocketImpl.inputClosed:Z
         3: .line 713
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         4: .line 714
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.error:Ljava/util/concurrent/atomic/AtomicReference;
            aconst_null
            aload 1 /* error */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 5
            aload 0 /* this */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.ERROR:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.trySetState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
            ifne 9
         5: .line 715
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 7
         6: .line 716
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "signalError"
            aload 1 /* error */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
         7: .line 718
      StackMap locals:
      StackMap stack:
            aload 1 /* error */
            invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/Throwable;)V
         8: .line 719
            goto 10
         9: .line 720
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.close:()V
        10: .line 722
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable error
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   11     1  error  Ljava/lang/Throwable;
    MethodParameters:
       Name  Flags
      error  

  private void close();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 725
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 2
         1: .line 726
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "close"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         2: .line 728
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* first */
        start local 1 // java.lang.Throwable first
         3: .line 730
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeInput:()V
         4: .line 731
            goto 104
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable
      StackMap stack: java.lang.Throwable
         5: astore 2 /* t1 */
        start local 2 // java.lang.Throwable t1
         6: .line 732
            aload 2 /* t1 */
            astore 1 /* first */
        end local 2 // java.lang.Throwable t1
         7: .line 734
            aconst_null
            astore 4 /* second */
        start local 4 // java.lang.Throwable second
         8: .line 736
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeOutput:()V
         9: .line 737
            goto 41
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
        10: astore 5 /* t2 */
        start local 5 // java.lang.Throwable t2
        11: .line 738
            aload 5 /* t2 */
            astore 4 /* second */
        end local 5 // java.lang.Throwable t2
        12: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        13: .line 741
            aload 1 /* first */
            ifnull 17
            aload 4 /* second */
            ifnull 17
        14: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        15: .line 743
            aload 1 /* first */
            astore 7 /* e */
        16: .line 744
            goto 22
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
        17: aload 1 /* first */
            ifnull 20
        18: .line 745
            aload 1 /* first */
            astore 7 /* e */
        19: .line 746
            goto 22
      StackMap locals:
      StackMap stack:
        20: aload 4 /* second */
            ifnull 22
        21: .line 747
            aload 4 /* second */
            astore 7 /* e */
        22: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 151
        23: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 151
        24: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        25: goto 151
        26: .line 739
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
            astore 6
        27: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        28: .line 741
            aload 1 /* first */
            ifnull 32
            aload 4 /* second */
            ifnull 32
        29: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        30: .line 743
            aload 1 /* first */
            astore 7 /* e */
        31: .line 744
            goto 37
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack:
        32: aload 1 /* first */
            ifnull 35
        33: .line 745
            aload 1 /* first */
            astore 7 /* e */
        34: .line 746
            goto 37
      StackMap locals:
      StackMap stack:
        35: aload 4 /* second */
            ifnull 37
        36: .line 747
            aload 4 /* second */
            astore 7 /* e */
        37: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 40
        38: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 40
        39: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        40: .line 754
      StackMap locals:
      StackMap stack:
            aload 6
            athrow
        41: .line 740
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        42: .line 741
            aload 1 /* first */
            ifnull 46
            aload 4 /* second */
            ifnull 46
        43: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        44: .line 743
            aload 1 /* first */
            astore 7 /* e */
        45: .line 744
            goto 51
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
        46: aload 1 /* first */
            ifnull 49
        47: .line 745
            aload 1 /* first */
            astore 7 /* e */
        48: .line 746
            goto 51
      StackMap locals:
      StackMap stack:
        49: aload 4 /* second */
            ifnull 51
        50: .line 747
            aload 4 /* second */
            astore 7 /* e */
        51: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 151
        52: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 151
        53: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        end local 4 // java.lang.Throwable second
        54: .line 754
            goto 151
        55: .line 733
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable
      StackMap stack: java.lang.Throwable
            astore 3
        56: .line 734
            aconst_null
            astore 4 /* second */
        start local 4 // java.lang.Throwable second
        57: .line 736
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeOutput:()V
        58: .line 737
            goto 90
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack: java.lang.Throwable
        59: astore 5 /* t2 */
        start local 5 // java.lang.Throwable t2
        60: .line 738
            aload 5 /* t2 */
            astore 4 /* second */
        end local 5 // java.lang.Throwable t2
        61: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        62: .line 741
            aload 1 /* first */
            ifnull 66
            aload 4 /* second */
            ifnull 66
        63: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        64: .line 743
            aload 1 /* first */
            astore 7 /* e */
        65: .line 744
            goto 71
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
        66: aload 1 /* first */
            ifnull 69
        67: .line 745
            aload 1 /* first */
            astore 7 /* e */
        68: .line 746
            goto 71
      StackMap locals:
      StackMap stack:
        69: aload 4 /* second */
            ifnull 71
        70: .line 747
            aload 4 /* second */
            astore 7 /* e */
        71: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 103
        72: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 103
        73: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        74: goto 103
        75: .line 739
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack: java.lang.Throwable
            astore 6
        76: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        77: .line 741
            aload 1 /* first */
            ifnull 81
            aload 4 /* second */
            ifnull 81
        78: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        79: .line 743
            aload 1 /* first */
            astore 7 /* e */
        80: .line 744
            goto 86
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack:
        81: aload 1 /* first */
            ifnull 84
        82: .line 745
            aload 1 /* first */
            astore 7 /* e */
        83: .line 746
            goto 86
      StackMap locals:
      StackMap stack:
        84: aload 4 /* second */
            ifnull 86
        85: .line 747
            aload 4 /* second */
            astore 7 /* e */
        86: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 89
        87: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 89
        88: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        89: .line 754
      StackMap locals:
      StackMap stack:
            aload 6
            athrow
        90: .line 740
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack:
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        91: .line 741
            aload 1 /* first */
            ifnull 95
            aload 4 /* second */
            ifnull 95
        92: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
        93: .line 743
            aload 1 /* first */
            astore 7 /* e */
        94: .line 744
            goto 100
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
        95: aload 1 /* first */
            ifnull 98
        96: .line 745
            aload 1 /* first */
            astore 7 /* e */
        97: .line 746
            goto 100
      StackMap locals:
      StackMap stack:
        98: aload 4 /* second */
            ifnull 100
        99: .line 747
            aload 4 /* second */
            astore 7 /* e */
       100: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 103
       101: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 103
       102: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        end local 4 // java.lang.Throwable second
       103: .line 755
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top java.lang.Throwable
      StackMap stack:
            aload 3
            athrow
       104: .line 734
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable
      StackMap stack:
            aconst_null
            astore 4 /* second */
        start local 4 // java.lang.Throwable second
       105: .line 736
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeOutput:()V
       106: .line 737
            goto 138
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
       107: astore 5 /* t2 */
        start local 5 // java.lang.Throwable t2
       108: .line 738
            aload 5 /* t2 */
            astore 4 /* second */
        end local 5 // java.lang.Throwable t2
       109: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
       110: .line 741
            aload 1 /* first */
            ifnull 114
            aload 4 /* second */
            ifnull 114
       111: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
       112: .line 743
            aload 1 /* first */
            astore 7 /* e */
       113: .line 744
            goto 119
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
       114: aload 1 /* first */
            ifnull 117
       115: .line 745
            aload 1 /* first */
            astore 7 /* e */
       116: .line 746
            goto 119
      StackMap locals:
      StackMap stack:
       117: aload 4 /* second */
            ifnull 119
       118: .line 747
            aload 4 /* second */
            astore 7 /* e */
       119: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 151
       120: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 151
       121: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
       122: goto 151
       123: .line 739
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
            astore 6
       124: .line 740
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
       125: .line 741
            aload 1 /* first */
            ifnull 129
            aload 4 /* second */
            ifnull 129
       126: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
       127: .line 743
            aload 1 /* first */
            astore 7 /* e */
       128: .line 744
            goto 134
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top java.lang.Throwable java.lang.Throwable
      StackMap stack:
       129: aload 1 /* first */
            ifnull 132
       130: .line 745
            aload 1 /* first */
            astore 7 /* e */
       131: .line 746
            goto 134
      StackMap locals:
      StackMap stack:
       132: aload 4 /* second */
            ifnull 134
       133: .line 747
            aload 4 /* second */
            astore 7 /* e */
       134: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 137
       135: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 137
       136: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
       137: .line 754
      StackMap locals:
      StackMap stack:
            aload 6
            athrow
       138: .line 740
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
            aconst_null
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
       139: .line 741
            aload 1 /* first */
            ifnull 143
            aload 4 /* second */
            ifnull 143
       140: .line 742
            aload 1 /* first */
            aload 4 /* second */
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
       141: .line 743
            aload 1 /* first */
            astore 7 /* e */
       142: .line 744
            goto 148
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable top top java.lang.Throwable top top java.lang.Throwable
      StackMap stack:
       143: aload 1 /* first */
            ifnull 146
       144: .line 745
            aload 1 /* first */
            astore 7 /* e */
       145: .line 746
            goto 148
      StackMap locals:
      StackMap stack:
       146: aload 4 /* second */
            ifnull 148
       147: .line 747
            aload 4 /* second */
            astore 7 /* e */
       148: .line 749
      StackMap locals:
      StackMap stack:
            aload 7 /* e */
            ifnull 151
       149: .line 750
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 151
       150: .line 751
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception in close"
            aload 7 /* e */
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 7 // java.lang.Throwable e
        end local 4 // java.lang.Throwable second
       151: .line 756
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl java.lang.Throwable
      StackMap stack:
            return
        end local 1 // java.lang.Throwable first
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0  152     0    this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            3  152     1   first  Ljava/lang/Throwable;
            6    7     2      t1  Ljava/lang/Throwable;
            8   54     4  second  Ljava/lang/Throwable;
           57  103     4  second  Ljava/lang/Throwable;
          105  151     4  second  Ljava/lang/Throwable;
           11   12     5      t2  Ljava/lang/Throwable;
           60   61     5      t2  Ljava/lang/Throwable;
          108  109     5      t2  Ljava/lang/Throwable;
           13   25     7       e  Ljava/lang/Throwable;
           28   40     7       e  Ljava/lang/Throwable;
           42   54     7       e  Ljava/lang/Throwable;
           62   74     7       e  Ljava/lang/Throwable;
           77   89     7       e  Ljava/lang/Throwable;
           91  103     7       e  Ljava/lang/Throwable;
          110  122     7       e  Ljava/lang/Throwable;
          125  137     7       e  Ljava/lang/Throwable;
          139  151     7       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.Throwable
           8     9      10  Class java.lang.Throwable
           8    12      26  any
           3     7      55  any
          57    58      59  Class java.lang.Throwable
          57    61      75  any
         105   106     107  Class java.lang.Throwable
         105   109     123  any

  private void signalClose(int, java.lang.String);
    descriptor: (ILjava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // int statusCode
        start local 2 // java.lang.String reason
         0: .line 760
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.net.http.websocket.WebSocketImpl.inputClosed:Z
         1: .line 761
            aload 0 /* this */
            iload 1 /* statusCode */
            putfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
         2: .line 762
            aload 0 /* this */
            aload 2 /* reason */
            putfield jdk.internal.net.http.websocket.WebSocketImpl.reason:Ljava/lang/String;
         3: .line 763
            aload 0 /* this */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.CLOSE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.trySetState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
            istore 3 /* managed */
        start local 3 // boolean managed
         4: .line 764
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 8
         5: .line 765
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "signalClose statusCode=%s reason.length=%s: %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         6: .line 766
            iload 1 /* statusCode */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 2 /* reason */
            invokevirtual java.lang.String.length:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 3 /* managed */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
         7: .line 765
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         8: .line 768
      StackMap locals: int
      StackMap stack:
            iload 3 /* managed */
            ifeq 14
         9: .line 770
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            invokeinterface jdk.internal.net.http.websocket.Transport.closeInput:()V
        10: .line 771
            goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: astore 4 /* t */
        start local 4 // java.lang.Throwable t
        12: .line 772
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 14
        13: .line 773
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "exception closing input"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 4 /* t */
            aastore
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        end local 4 // java.lang.Throwable t
        14: .line 777
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean managed
        end local 2 // java.lang.String reason
        end local 1 // int statusCode
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0        this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   15     1  statusCode  I
            0   15     2      reason  Ljava/lang/String;
            4   15     3     managed  Z
           12   14     4           t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           9    10      11  Class java.lang.Throwable
    MethodParameters:
            Name  Flags
      statusCode  
      reason      

  private boolean trySetState(jdk.internal.net.http.websocket.WebSocketImpl$State);
    descriptor: (Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // jdk.internal.net.http.websocket.WebSocketImpl$State newState
         0: .line 831
            iconst_0
            istore 3 /* success */
        start local 3 // boolean success
         1: .line 833
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl jdk.internal.net.http.websocket.WebSocketImpl$State top int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.state:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast jdk.internal.net.http.websocket.WebSocketImpl$State
            astore 2 /* currentState */
        start local 2 // jdk.internal.net.http.websocket.WebSocketImpl$State currentState
         2: .line 834
            aload 2 /* currentState */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.ERROR:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            if_acmpeq 7
            aload 2 /* currentState */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.CLOSE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            if_acmpne 4
         3: .line 835
            goto 7
         4: .line 836
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl jdk.internal.net.http.websocket.WebSocketImpl$State jdk.internal.net.http.websocket.WebSocketImpl$State int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.state:Ljava/util/concurrent/atomic/AtomicReference;
            aload 2 /* currentState */
            aload 1 /* newState */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 1
         5: .line 837
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         6: .line 838
            iconst_1
            istore 3 /* success */
         7: .line 842
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 11
         8: .line 843
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "set state %s (previous %s) %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         9: .line 844
            aload 1 /* newState */
            aastore
            dup
            iconst_1
            aload 2 /* currentState */
            aastore
            dup
            iconst_2
            iload 3 /* success */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
        10: .line 843
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        11: .line 846
      StackMap locals:
      StackMap stack:
            iload 3 /* success */
            ireturn
        end local 3 // boolean success
        end local 2 // jdk.internal.net.http.websocket.WebSocketImpl$State currentState
        end local 1 // jdk.internal.net.http.websocket.WebSocketImpl$State newState
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   12     1      newState  Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            2   12     2  currentState  Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            1   12     3       success  Z
    MethodParameters:
          Name  Flags
      newState  

  private boolean tryChangeState(jdk.internal.net.http.websocket.WebSocketImpl$State, jdk.internal.net.http.websocket.WebSocketImpl$State);
    descriptor: (Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // jdk.internal.net.http.websocket.WebSocketImpl$State expectedState
        start local 2 // jdk.internal.net.http.websocket.WebSocketImpl$State newState
         0: .line 850
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.state:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* expectedState */
            aload 2 /* newState */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndExchange:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.net.http.websocket.WebSocketImpl$State
            astore 3 /* witness */
        start local 3 // jdk.internal.net.http.websocket.WebSocketImpl$State witness
         1: .line 851
            iconst_0
            istore 4 /* success */
        start local 4 // boolean success
         2: .line 852
            aload 3 /* witness */
            aload 1 /* expectedState */
            if_acmpne 6
         3: .line 853
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
            invokevirtual jdk.internal.net.http.common.SequentialScheduler.runOrSchedule:()V
         4: .line 854
            iconst_1
            istore 4 /* success */
         5: .line 855
            goto 8
      StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$State int
      StackMap stack:
         6: aload 3 /* witness */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.ERROR:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            if_acmpeq 8
            aload 3 /* witness */
            getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.CLOSE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            if_acmpeq 8
         7: .line 858
            new java.lang.InternalError
            dup
            invokespecial java.lang.InternalError.<init>:()V
            athrow
         8: .line 860
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 12
         9: .line 861
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "change state from %s to %s %s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        10: .line 862
            aload 1 /* expectedState */
            aastore
            dup
            iconst_1
            aload 2 /* newState */
            aastore
            dup
            iconst_2
            iload 4 /* success */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
        11: .line 861
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
        12: .line 864
      StackMap locals:
      StackMap stack:
            iload 4 /* success */
            ireturn
        end local 4 // boolean success
        end local 3 // jdk.internal.net.http.websocket.WebSocketImpl$State witness
        end local 2 // jdk.internal.net.http.websocket.WebSocketImpl$State newState
        end local 1 // jdk.internal.net.http.websocket.WebSocketImpl$State expectedState
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0           this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0   13     1  expectedState  Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            0   13     2       newState  Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            1   13     3        witness  Ljdk/internal/net/http/websocket/WebSocketImpl$State;
            2   13     4        success  Z
    MethodParameters:
               Name  Flags
      expectedState  
      newState       

  protected jdk.internal.net.http.websocket.Transport transport();
    descriptor: ()Ljdk/internal/net/http/websocket/Transport;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
         0: .line 869
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
            areturn
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;

  static java.nio.ByteBuffer access$0(jdk.internal.net.http.websocket.WebSocketImpl);
    descriptor: (Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/nio/ByteBuffer;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 662
            aload 0
            invokespecial jdk.internal.net.http.websocket.WebSocketImpl.clearAutomaticPong:()Ljava/nio/ByteBuffer;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.net.http.WebSocket lambda$1(jdk.internal.net.http.websocket.BuilderImpl, jdk.internal.net.http.websocket.OpeningHandshake$Result);
    descriptor: (Ljdk/internal/net/http/websocket/BuilderImpl;Ljdk/internal/net/http/websocket/OpeningHandshake$Result;)Ljava/net/http/WebSocket;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=3, args_size=2
        start local 1 // jdk.internal.net.http.websocket.OpeningHandshake$Result r
         0: .line 121
            aload 0
            invokevirtual jdk.internal.net.http.websocket.BuilderImpl.getUri:()Ljava/net/URI;
         1: .line 122
            aload 1 /* r */
            getfield jdk.internal.net.http.websocket.OpeningHandshake$Result.subprotocol:Ljava/lang/String;
         2: .line 123
            aload 0
            invokevirtual jdk.internal.net.http.websocket.BuilderImpl.getListener:()Ljava/net/http/WebSocket$Listener;
         3: .line 124
            aload 1 /* r */
            getfield jdk.internal.net.http.websocket.OpeningHandshake$Result.transport:Ljdk/internal/net/http/websocket/TransportFactory;
         4: .line 121
            invokestatic jdk.internal.net.http.websocket.WebSocketImpl.newInstance:(Ljava/net/URI;Ljava/lang/String;Ljava/net/http/WebSocket$Listener;Ljdk/internal/net/http/websocket/TransportFactory;)Ljdk/internal/net/http/websocket/WebSocketImpl;
            astore 2 /* ws */
        start local 2 // java.net.http.WebSocket ws
         5: .line 129
            aload 0
            invokestatic java.lang.ref.Reference.reachabilityFence:(Ljava/lang/Object;)V
         6: .line 130
            aload 2 /* ws */
            areturn
        end local 2 // java.net.http.WebSocket ws
        end local 1 // jdk.internal.net.http.websocket.OpeningHandshake$Result r
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     1     r  Ljdk/internal/net/http/websocket/OpeningHandshake$Result;
            5    7     2    ws  Ljava/net/http/WebSocket;

  private void lambda$2(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.http.WebSocket r
        start local 2 // java.lang.Throwable e
         0: .line 185
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.clearPendingTextOrBinary:()V
            return
        end local 2 // java.lang.Throwable e
        end local 1 // java.net.http.WebSocket r
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    1     1     r  Ljava/net/http/WebSocket;
            0    1     2     e  Ljava/lang/Throwable;

  private void lambda$3(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.http.WebSocket r
        start local 2 // java.lang.Throwable e
         0: .line 209
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.clearPendingTextOrBinary:()V
            return
        end local 2 // java.lang.Throwable e
        end local 1 // java.net.http.WebSocket r
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    1     1     r  Ljava/net/http/WebSocket;
            0    1     2     e  Ljava/lang/Throwable;

  private void lambda$4(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.http.WebSocket r
        start local 2 // java.lang.Throwable e
         0: .line 248
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.clearPendingPingOrPong:()V
            return
        end local 2 // java.lang.Throwable e
        end local 1 // java.net.http.WebSocket r
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    1     1     r  Ljava/net/http/WebSocket;
            0    1     2     e  Ljava/lang/Throwable;

  private void lambda$5(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.http.WebSocket r
        start local 2 // java.lang.Throwable e
         0: .line 269
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.clearPendingPingOrPong:()V
            return
        end local 2 // java.lang.Throwable e
        end local 1 // java.net.http.WebSocket r
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    1     1     r  Ljava/net/http/WebSocket;
            0    1     2     e  Ljava/lang/Throwable;

  private void lambda$6(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
        start local 1 // java.net.http.WebSocket r
        start local 2 // java.lang.Throwable e
         0: .line 338
            aload 0 /* this */
            aload 2 /* e */
            invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.processCloseError:(Ljava/lang/Throwable;)V
            return
        end local 2 // java.lang.Throwable e
        end local 1 // java.net.http.WebSocket r
        end local 0 // jdk.internal.net.http.websocket.WebSocketImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/websocket/WebSocketImpl;
            0    1     1     r  Ljava/net/http/WebSocket;
            0    1     2     e  Ljava/lang/Throwable;

  private static void lambda$7(java.net.http.WebSocket, java.lang.Throwable);
    descriptor: (Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // java.net.http.WebSocket r
        start local 1 // java.lang.Throwable e
         0: .line 653
            aload 1 /* e */
            ifnull 5
         1: .line 654
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 5
         2: .line 655
            getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
            ldc "automatic closure completed with error"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 656
            aload 1 /* e */
            aastore
         4: .line 655
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 659
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable e
        end local 0 // java.net.http.WebSocket r
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0     r  Ljava/net/http/WebSocket;
            0    6     1     e  Ljava/lang/Throwable;
}
SourceFile: "WebSocketImpl.java"
NestMembers:
  jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask  jdk.internal.net.http.websocket.WebSocketImpl$SignallingMessageConsumer  jdk.internal.net.http.websocket.WebSocketImpl$State
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Listener = java.net.http.WebSocket$Listener of java.net.http.WebSocket
  public abstract RestartableTask = jdk.internal.net.http.common.SequentialScheduler$RestartableTask of jdk.internal.net.http.common.SequentialScheduler
  final Result = jdk.internal.net.http.websocket.OpeningHandshake$Result of jdk.internal.net.http.websocket.OpeningHandshake
  private ReceiveTask = jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask of jdk.internal.net.http.websocket.WebSocketImpl
  private SignallingMessageConsumer = jdk.internal.net.http.websocket.WebSocketImpl$SignallingMessageConsumer of jdk.internal.net.http.websocket.WebSocketImpl
  final State = jdk.internal.net.http.websocket.WebSocketImpl$State of jdk.internal.net.http.websocket.WebSocketImpl