class jdk.internal.net.http.websocket.TransportImpl$SendTask extends jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.websocket.TransportImpl$SendTask
super_class: jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask
{
private final jdk.internal.net.http.websocket.MessageQueue$QueueCallback<java.lang.Boolean, java.io.IOException> encodingCallback;
descriptor: Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback<Ljava/lang/Boolean;Ljava/io/IOException;>;
private boolean firstPass;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean encoded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Object attachment;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.util.function.BiConsumer action;
descriptor: Ljava/util/function/BiConsumer;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.CompletableFuture future;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
private final jdk.internal.net.http.websocket.MessageQueue$QueueCallback<java.lang.Boolean, java.lang.RuntimeException> loadCallback;
descriptor: Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback<Ljava/lang/Boolean;Ljava/lang/RuntimeException;>;
final jdk.internal.net.http.websocket.TransportImpl this$0;
descriptor: Ljdk/internal/net/http/websocket/TransportImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$internal$net$http$websocket$TransportImpl$ChannelState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>(jdk.internal.net.http.websocket.TransportImpl);
descriptor: (Ljdk/internal/net/http/websocket/TransportImpl;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
aload 0
invokespecial jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.<init>:()V
1: aload 0
new jdk.internal.net.http.websocket.TransportImpl$SendTask$1
dup
aload 0
invokespecial jdk.internal.net.http.websocket.TransportImpl$SendTask$1.<init>:(Ljdk/internal/net/http/websocket/TransportImpl$SendTask;)V
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.encodingCallback:Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
2: aload 0
iconst_1
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.firstPass:Z
3: aload 0
new jdk.internal.net.http.websocket.TransportImpl$SendTask$2
dup
aload 0
invokespecial jdk.internal.net.http.websocket.TransportImpl$SendTask$2.<init>:(Ljdk/internal/net/http/websocket/TransportImpl$SendTask;)V
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.loadCallback:Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/websocket/TransportImpl$SendTask;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 30
1: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter send task"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: goto 30
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 10
4: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 8
5: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "%s bytes remaining in buffer %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
aastore
7: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.TransportImpl$SendTask.tryCompleteWrite:()Z
ifne 30
9: goto 31
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.encoded:Z
ifne 21
11: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.firstPass:Z
ifeq 16
12: aload 0
iconst_0
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.firstPass:Z
13: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.queue:Ljdk/internal/net/http/websocket/MessageQueue;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.loadCallback:Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
invokevirtual jdk.internal.net.http.websocket.MessageQueue.peek:(Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;)Ljava/lang/Object;
pop
14: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 16
15: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "load message"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
17: aload 0
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.queue:Ljdk/internal/net/http/websocket/MessageQueue;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.encodingCallback:Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;
invokevirtual jdk.internal.net.http.websocket.MessageQueue.peek:(Ljdk/internal/net/http/websocket/MessageQueue$QueueCallback;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.encoded:Z
18: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
19: aload 0
invokevirtual jdk.internal.net.http.websocket.TransportImpl$SendTask.tryCompleteWrite:()Z
ifne 30
20: goto 31
21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.encoder:Ljdk/internal/net/http/websocket/MessageEncoder;
invokevirtual jdk.internal.net.http.websocket.MessageEncoder.reset:()V
22: aload 0
aconst_null
invokevirtual jdk.internal.net.http.websocket.TransportImpl$SendTask.removeAndComplete:(Ljava/lang/Throwable;)V
23: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 1
start local 1 25: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 27
26: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "send task exception %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
27: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.dst:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
28: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.encoder:Ljdk/internal/net/http/websocket/MessageEncoder;
invokevirtual jdk.internal.net.http.websocket.MessageEncoder.reset:()V
29: aload 0
aload 1
invokevirtual jdk.internal.net.http.websocket.TransportImpl$SendTask.removeAndComplete:(Ljava/lang/Throwable;)V
end local 1 30: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.queue:Ljdk/internal/net/http/websocket/MessageQueue;
invokevirtual jdk.internal.net.http.websocket.MessageQueue.isEmpty:()Z
ifeq 3
31: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 33
32: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit send task"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/internal/net/http/websocket/TransportImpl$SendTask;
25 30 1 t Ljava/lang/Throwable;
Exception table:
from to target type
3 9 24 Class java.lang.Throwable
10 20 24 Class java.lang.Throwable
21 23 24 Class java.lang.Throwable
private boolean tryCompleteWrite();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=1
start local 0 0: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
1: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter writing"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.writeState:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast jdk.internal.net.http.websocket.TransportImpl$ChannelState
astore 2
start local 2 4: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
5: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "write state: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: jdk.internal.net.http.websocket.TransportImpl$ChannelState
StackMap stack:
invokestatic jdk.internal.net.http.websocket.TransportImpl$SendTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$TransportImpl$ChannelState:()[I
aload 2
invokevirtual jdk.internal.net.http.websocket.TransportImpl$ChannelState.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 8
2: 15
3: 7
4: 23
default: 24
}
7: StackMap locals:
StackMap stack:
goto 25
8: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 10
9: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "registering write event"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.channel:Ljdk/internal/net/http/websocket/RawChannel;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.writeEvent:Ljdk/internal/net/http/websocket/RawChannel$RawEvent;
invokeinterface jdk.internal.net.http.websocket.RawChannel.registerEvent:(Ljdk/internal/net/http/websocket/RawChannel$RawEvent;)V
11: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.writeState:Ljava/util/concurrent/atomic/AtomicReference;
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.UNREGISTERED:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.WAITING:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
12: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 25
13: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "registered write event"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
14: goto 25
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
invokevirtual jdk.internal.net.http.websocket.TransportImpl.write:()Z
istore 3
start local 3 16: iload 3
ifeq 21
17: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 19
18: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "finished writing to the channel"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
19: StackMap locals: int
StackMap stack:
iconst_1
istore 1
20: goto 25
21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.writeState:Ljava/util/concurrent/atomic/AtomicReference;
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.AVAILABLE:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.UNREGISTERED:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
22: goto 3
end local 3 23: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Output closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 25: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 27
26: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit writing"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/internal/net/http/websocket/TransportImpl$SendTask;
3 28 1 finished Z
4 25 2 ws Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
16 23 3 written Z
Exceptions:
throws java.io.IOException
private void removeAndComplete(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
1: getstatic jdk.internal.net.http.websocket.TransportImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "removeAndComplete error=%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
getfield jdk.internal.net.http.websocket.TransportImpl.queue:Ljdk/internal/net/http/websocket/MessageQueue;
invokevirtual jdk.internal.net.http.websocket.MessageQueue.remove:()V
3: aload 1
ifnull 11
4: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.action:Ljava/util/function/BiConsumer;
aconst_null
aload 1
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.future:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.future:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.action:Ljava/util/function/BiConsumer;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.attachment:Ljava/lang/Object;
aconst_null
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
12: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
14: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.future:Ljava/util/concurrent/CompletableFuture;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.attachment:Ljava/lang/Object;
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
15: aload 2
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.future:Ljava/util/concurrent/CompletableFuture;
aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.attachment:Ljava/lang/Object;
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
17: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.encoded:Z
18: aload 0
iconst_1
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.firstPass:Z
19: aload 0
aconst_null
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.attachment:Ljava/lang/Object;
20: aload 0
aconst_null
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.action:Ljava/util/function/BiConsumer;
21: aload 0
aconst_null
putfield jdk.internal.net.http.websocket.TransportImpl$SendTask.future:Ljava/util/concurrent/CompletableFuture;
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/net/http/websocket/TransportImpl$SendTask;
0 23 1 error Ljava/lang/Throwable;
Exception table:
from to target type
4 6 6 any
11 13 13 any
MethodParameters:
Name Flags
error
static int[] $SWITCH_TABLE$jdk$internal$net$http$websocket$TransportImpl$ChannelState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.net.http.websocket.TransportImpl$SendTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$TransportImpl$ChannelState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.values:()[Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.AVAILABLE:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual jdk.internal.net.http.websocket.TransportImpl$ChannelState.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.CLOSED:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual jdk.internal.net.http.websocket.TransportImpl$ChannelState.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.UNREGISTERED:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual jdk.internal.net.http.websocket.TransportImpl$ChannelState.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.internal.net.http.websocket.TransportImpl$ChannelState.WAITING:Ljdk/internal/net/http/websocket/TransportImpl$ChannelState;
invokevirtual jdk.internal.net.http.websocket.TransportImpl$ChannelState.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic jdk.internal.net.http.websocket.TransportImpl$SendTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$TransportImpl$ChannelState:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
static jdk.internal.net.http.websocket.TransportImpl access$1(jdk.internal.net.http.websocket.TransportImpl$SendTask);
descriptor: (Ljdk/internal/net/http/websocket/TransportImpl$SendTask;)Ljdk/internal/net/http/websocket/TransportImpl;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.internal.net.http.websocket.TransportImpl$SendTask.this$0:Ljdk/internal/net/http/websocket/TransportImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TransportImpl.java"
NestHost: jdk.internal.net.http.websocket.TransportImpl
InnerClasses:
public abstract CompleteRestartableTask = jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask of jdk.internal.net.http.common.SequentialScheduler
public abstract QueueCallback = jdk.internal.net.http.websocket.MessageQueue$QueueCallback of jdk.internal.net.http.websocket.MessageQueue
public abstract RawEvent = jdk.internal.net.http.websocket.RawChannel$RawEvent of jdk.internal.net.http.websocket.RawChannel
final ChannelState = jdk.internal.net.http.websocket.TransportImpl$ChannelState of jdk.internal.net.http.websocket.TransportImpl
private SendTask = jdk.internal.net.http.websocket.TransportImpl$SendTask of jdk.internal.net.http.websocket.TransportImpl
jdk.internal.net.http.websocket.TransportImpl$SendTask$1
jdk.internal.net.http.websocket.TransportImpl$SendTask$2