class jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask 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.WebSocketImpl$ReceiveTask
super_class: jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask
{
final jdk.internal.net.http.websocket.WebSocketImpl this$0;
descriptor: Ljdk/internal/net/http/websocket/WebSocketImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$internal$net$http$websocket$WebSocketImpl$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>(jdk.internal.net.http.websocket.WebSocketImpl);
descriptor: (Ljdk/internal/net/http/websocket/WebSocketImpl;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 0
invokespecial jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
MethodParameters:
Name Flags
this$0 final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 34
1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter receive task"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: goto 34
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
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 1
start local 1 4: getstatic jdk.internal.net.http.websocket.WebSocketImpl.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.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "receive state: %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
6: StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$State
StackMap stack:
invokestatic jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$WebSocketImpl$State:()[I
aload 1
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iaload
tableswitch { // 1 - 9
1: 7
2: 26
3: 30
4: 10
5: 13
6: 16
7: 19
8: 22
9: 24
default: 31
}
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processOpen:()V
8: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.OPEN:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
pop
9: goto 34
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processText:()V
11: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.TEXT:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
pop
12: goto 34
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processBinary:()V
14: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.BINARY:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
pop
15: goto 34
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processPing:()V
17: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.PING:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
pop
18: goto 34
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processPong:()V
20: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.PONG:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
pop
21: goto 34
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processClose:()V
23: goto 35
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processError:()V
25: goto 35
26: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.demand:Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
ifeq 35
27: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.WAITING:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState:(Ljdk/internal/net/http/websocket/WebSocketImpl$State;Ljdk/internal/net/http/websocket/WebSocketImpl$State;)Z
ifeq 35
28: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
lconst_1
invokeinterface jdk.internal.net.http.websocket.Transport.request:(J)V
29: goto 35
30: StackMap locals:
StackMap stack:
goto 35
31: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 33: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 2
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.signalError:(Ljava/lang/Throwable;)V
end local 2 end local 1 34: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.isStopped:()Z
ifeq 3
35: 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 37
36: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit receive task"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
37: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
4 34 1 s Ljdk/internal/net/http/websocket/WebSocketImpl$State;
33 34 2 t Ljava/lang/Throwable;
Exception table:
from to target type
6 23 32 Class java.lang.Throwable
24 25 32 Class java.lang.Throwable
26 29 32 Class java.lang.Throwable
31 32 32 Class java.lang.Throwable
private void processError();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: 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: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "processError"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
invokeinterface jdk.internal.net.http.websocket.Transport.closeInput:()V
3: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
4: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.error:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 5: aload 1
instanceof jdk.internal.net.http.websocket.FailWebSocketException
ifeq 13
6: aload 1
checkcast jdk.internal.net.http.websocket.FailWebSocketException
invokevirtual jdk.internal.net.http.websocket.FailWebSocketException.getStatusCode:()I
istore 2
start local 2 7: new java.net.ProtocolException
dup
invokespecial java.net.ProtocolException.<init>:()V
aload 1
invokevirtual java.net.ProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
8: 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: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "failing %s with error=%s statusCode=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
10: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
11: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.Throwable int
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
iload 2
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.sendCloseSilently:(I)V
end local 2 13: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 14: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 17
15: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 2
16: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onError %s error=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 1
invokeinterface java.net.http.WebSocket$Listener.onError:(Ljava/net/http/WebSocket;Ljava/lang/Throwable;)V
18: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 4
20: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 22
21: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onError %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
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
22: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
23: 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 25
24: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onError %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
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
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
5 26 1 err Ljava/lang/Throwable;
7 13 2 code1 I
14 26 2 id J
Exception table:
from to target type
17 19 19 any
Exceptions:
throws java.io.IOException
private void processClose();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "processClose"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
1: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
invokeinterface jdk.internal.net.http.websocket.Transport.closeInput:()V
2: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveScheduler:Ljdk/internal/net/http/common/SequentialScheduler;
invokevirtual jdk.internal.net.http.common.SequentialScheduler.stop:()V
3: aconst_null
astore 1
start local 1 4: lconst_0
lstore 2
start local 2 5: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 10
6: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 2
7: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onClose %s statusCode=%s reason.length=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
8: lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.reason:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
10: StackMap locals: java.util.concurrent.CompletionStage long
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.reason:Ljava/lang/String;
invokeinterface java.net.http.WebSocket$Listener.onClose:(Ljava/net/http/WebSocket;ILjava/lang/String;)Ljava/util/concurrent/CompletionStage;
astore 1
11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
13: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onClose %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
14: aload 4
athrow
15: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onClose %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
16: aload 1
ifnonnull 18
17: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.DONE:Ljdk/internal/net/http/common/MinimalFuture;
astore 1
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
sipush 1005
if_icmpeq 19
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
sipush 1006
if_icmpne 24
19: StackMap locals:
StackMap stack:
sipush 1000
istore 4
start local 4 20: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "using statusCode %s instead of %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
21: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
22: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
23: goto 25
end local 4 24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.statusCode:I
istore 4
start local 4 25: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 4
invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;I)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$ReceiveTask.lambda$0(ILjava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.CompletionStage.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
pop
26: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
4 27 1 cs Ljava/util/concurrent/CompletionStage<*>;
5 27 2 id J
20 24 4 code I
25 27 4 code I
Exception table:
from to target type
10 12 12 any
Exceptions:
throws java.io.IOException
private void processPong();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
2: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 1
3: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onPong %s payload=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
aastore
5: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: long
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
invokeinterface java.net.http.WebSocket$Listener.onPong:(Ljava/net/http/WebSocket;Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletionStage;
astore 3
8: goto 13
StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask long java.util.concurrent.CompletionStage
StackMap stack: java.lang.Throwable
9: astore 4
10: 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
11: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onPong %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
13: 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 15
14: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onPong %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
1 16 1 id J
7 16 3 cs Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
7 9 9 any
private void processPing();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=1
start local 0 0: 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: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "processPing"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 1
start local 1 3: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.outputClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 14
4: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
5: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
6: invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
7: astore 2
start local 2 8: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 2
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.trySwapAutomaticPong:(Ljava/nio/ByteBuffer;)Z
ifne 14
9: aload 0
invokedynamic accept(Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;)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$ReceiveTask.lambda$1(Ljdk/internal/net/http/websocket/WebSocketImpl;Ljava/lang/Throwable;)V (7)
(Ljdk/internal/net/http/websocket/WebSocketImpl;Ljava/lang/Throwable;)V
astore 3
start local 3 10: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.transport:Ljdk/internal/net/http/websocket/Transport;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
invokedynamic get(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/net/http/websocket/WebSocketImpl.access$0(Ljdk/internal/net/http/websocket/WebSocketImpl;)Ljava/nio/ByteBuffer; (6)
()Ljava/nio/ByteBuffer;
11: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
12: aload 3
13: invokeinterface jdk.internal.net.http.websocket.Transport.sendPong:(Ljava/util/function/Supplier;Ljava/lang/Object;Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
pop
end local 3 end local 2 14: StackMap locals: java.nio.ByteBuffer
StackMap stack:
lconst_0
lstore 2
start local 2 15: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 18
16: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 2
17: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onPing %s payload=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 1
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
18: StackMap locals: long
StackMap stack:
aconst_null
astore 4
start local 4 19: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 1
invokeinterface java.net.http.WebSocket$Listener.onPing:(Ljava/net/http/WebSocket;Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletionStage;
astore 4
20: goto 25
StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask java.nio.ByteBuffer long java.util.concurrent.CompletionStage
StackMap stack: java.lang.Throwable
21: astore 5
22: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 24
23: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onPing %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 4
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
24: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
25: 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 27
26: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onPing %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 4
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
3 28 1 slice Ljava/nio/ByteBuffer;
8 14 2 copy Ljava/nio/ByteBuffer;
10 14 3 reporter Ljava/util/function/BiConsumer<Ljdk/internal/net/http/websocket/WebSocketImpl;Ljava/lang/Throwable;>;
15 28 2 id J
19 28 4 cs Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
19 21 21 any
private void processBinary();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
2: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 1
3: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onBinary %s payload=%s last=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
aastore
dup
iconst_2
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.last:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
5: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: long
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.binaryData:Ljava/nio/ByteBuffer;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.last:Z
invokeinterface java.net.http.WebSocket$Listener.onBinary:(Ljava/net/http/WebSocket;Ljava/nio/ByteBuffer;Z)Ljava/util/concurrent/CompletionStage;
astore 3
8: goto 13
StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask long java.util.concurrent.CompletionStage
StackMap stack: java.lang.Throwable
9: astore 4
10: 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
11: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onBinary %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
13: 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 15
14: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onBinary %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
1 16 1 id J
7 16 3 cs Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
7 9 9 any
private void processText();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
2: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 1
3: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onText %s payload.length=%s last=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.text:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.last:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
5: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: long
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.text:Ljava/lang/CharSequence;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.last:Z
invokeinterface java.net.http.WebSocket$Listener.onText:(Ljava/net/http/WebSocket;Ljava/lang/CharSequence;Z)Ljava/util/concurrent/CompletionStage;
astore 3
8: goto 13
StackMap locals: jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask long java.util.concurrent.CompletionStage
StackMap stack: java.lang.Throwable
9: astore 4
10: 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
11: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onText %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
13: 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 15
14: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onText %s returned %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
1 16 1 id J
7 16 3 cs Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
7 9 9 any
private void processOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
2: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.receiveCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 1
3: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "enter onOpen %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
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
4: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
getfield jdk.internal.net.http.websocket.WebSocketImpl.listener:Ljava/net/http/WebSocket$Listener;
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
invokeinterface java.net.http.WebSocket$Listener.onOpen:(Ljava/net/http/WebSocket;)V
5: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
7: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 9
8: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onOpen %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
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
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
10: 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
11: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "exit onOpen %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
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
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
1 13 1 id J
Exception table:
from to target type
4 6 6 any
static int[] $SWITCH_TABLE$jdk$internal$net$http$websocket$WebSocketImpl$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$WebSocketImpl$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.net.http.websocket.WebSocketImpl$State.values:()[Ljdk/internal/net/http/websocket/WebSocketImpl$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.BINARY:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iconst_5
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.WebSocketImpl$State.CLOSE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
bipush 8
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.WebSocketImpl$State.ERROR:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
bipush 9
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.WebSocketImpl$State.IDLE:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.OPEN:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iconst_1
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.PING:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.PONG:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.TEXT:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iconst_4
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jdk.internal.net.http.websocket.WebSocketImpl$State.WAITING:Ljdk/internal/net/http/websocket/WebSocketImpl$State;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl$State.ordinal:()I
iconst_3
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
dup
putstatic jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.$SWITCH_TABLE$jdk$internal$net$http$websocket$WebSocketImpl$State:[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
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
private void lambda$0(int, java.lang.Object, java.lang.Throwable);
descriptor: (ILjava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 2 start local 3 0: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
1: getstatic jdk.internal.net.http.websocket.WebSocketImpl.debug:Ljdk/internal/net/http/common/Logger;
ldc "CompletionStage returned by onClose completed result=%s error=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: aload 2
aastore
dup
iconst_1
aload 3
aastore
3: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
iload 1
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.sendCloseSilently:(I)V
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
0 6 2 r Ljava/lang/Object;
0 6 3 e Ljava/lang/Throwable;
private void lambda$1(jdk.internal.net.http.websocket.WebSocketImpl, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/websocket/WebSocketImpl;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
1: aload 0
getfield jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.this$0:Ljdk/internal/net/http/websocket/WebSocketImpl;
aload 2
invokestatic jdk.internal.net.http.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokevirtual jdk.internal.net.http.websocket.WebSocketImpl.signalError:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/websocket/WebSocketImpl$ReceiveTask;
0 3 1 r Ljdk/internal/net/http/websocket/WebSocketImpl;
0 3 2 e Ljava/lang/Throwable;
}
SourceFile: "WebSocketImpl.java"
NestHost: jdk.internal.net.http.websocket.WebSocketImpl
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 CompleteRestartableTask = jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask of jdk.internal.net.http.common.SequentialScheduler
private ReceiveTask = jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask of jdk.internal.net.http.websocket.WebSocketImpl
final State = jdk.internal.net.http.websocket.WebSocketImpl$State of jdk.internal.net.http.websocket.WebSocketImpl