final class jdk.internal.net.http.common.SSLTube$DelegateWrapper implements jdk.internal.net.http.common.FlowTube$TubeSubscriber
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.common.SSLTube$DelegateWrapper
super_class: java.lang.Object
{
private final jdk.internal.net.http.common.FlowTube$TubeSubscriber delegate;
descriptor: Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
volatile boolean subscribedCalled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean subscribedDone;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean completed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/common/SSLTube;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.common.SSLTube$DelegateWrapper.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.concurrent.Flow$Subscriber<? super java.util.List<java.nio.ByteBuffer>>, jdk.internal.net.http.common.Logger);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;Ljdk/internal/net/http/common/Logger;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic jdk.internal.net.http.common.FlowTube.asTubeSubscriber:(Ljava/util/concurrent/Flow$Subscriber;)Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
2: aload 0
aload 2
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
0 4 1 delegate Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
0 4 2 debug Ljdk/internal/net/http/common/Logger;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;Ljdk/internal/net/http/common/Logger;)V
MethodParameters:
Name Flags
delegate
debug
public void dropSubscription();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedCalled:Z
ifeq 2
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
ifne 2
1: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.dropSubscription:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
public void onNext(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.common.SSLTube$DelegateWrapper.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedCalled:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onNext:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
0 3 1 item Ljava/util/List<Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
item
public void onSubscribe(java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;)Ljava/util/function/Consumer;
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;)V
java/util/concurrent/Flow$Subscriber.onSubscribe(Ljava/util/concurrent/Flow$Subscription;)V (9 itf)
(Ljava/util/concurrent/Flow$Subscription;)V
aload 1
invokevirtual jdk.internal.net.http.common.SSLTube$DelegateWrapper.onSubscribe:(Ljava/util/function/Consumer;Ljava/util/concurrent/Flow$Subscription;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
0 2 1 subscription Ljava/util/concurrent/Flow$Subscription;
MethodParameters:
Name Flags
subscription
private void onSubscribe(java.util.function.Consumer<java.util.concurrent.Flow$Subscription>, java.util.concurrent.Flow$Subscription);
descriptor: (Ljava/util/function/Consumer;Ljava/util/concurrent/Flow$Subscription;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedCalled:Z
1: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: aload 0
dup
astore 5
monitorenter
3: aload 0
iconst_1
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedDone:Z
4: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.error:Ljava/lang/Throwable;
astore 3
start local 3 5: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
istore 4
start local 4 6: aload 5
monitorexit
7: goto 10
end local 4 end local 3 StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper java.util.function.Consumer java.util.concurrent.Flow$Subscription top top jdk.internal.net.http.common.SSLTube$DelegateWrapper
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
start local 3 start local 4 10: StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper java.util.function.Consumer java.util.concurrent.Flow$Subscription java.lang.Throwable int
StackMap stack:
aload 3
ifnull 17
11: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 15
12: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "Subscriber completed before subscribe: forwarding %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 3
aastore
14: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
aload 3
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
16: goto 21
StackMap locals:
StackMap stack:
17: iload 4
ifeq 21
18: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 20
19: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "Subscriber completed before subscribe: calling onComplete()"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onComplete:()V
21: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
0 22 1 method Ljava/util/function/Consumer<Ljava/util/concurrent/Flow$Subscription;>;
0 22 2 subscription Ljava/util/concurrent/Flow$Subscription;
5 8 3 x Ljava/lang/Throwable;
10 22 3 x Ljava/lang/Throwable;
6 8 4 finished Z
10 22 4 finished Z
Exception table:
from to target type
3 7 8 any
8 9 8 any
Signature: (Ljava/util/function/Consumer<Ljava/util/concurrent/Flow$Subscription;>;Ljava/util/concurrent/Flow$Subscription;)V
MethodParameters:
Name Flags
method
subscription
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
ifeq 6
1: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 5
2: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "Subscriber already completed: ignoring %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 1
aastore
4: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
dup
astore 3
monitorenter
7: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
ifeq 9
aload 3
monitorexit
8: return
9: StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper java.lang.Throwable top jdk.internal.net.http.common.SSLTube$DelegateWrapper
StackMap stack:
aload 0
aload 1
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.error:Ljava/lang/Throwable;
10: aload 0
iconst_1
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
11: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedDone:Z
istore 2
start local 2 12: aload 3
monitorexit
13: goto 16
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 3
monitorexit
15: athrow
start local 2 16: StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper java.lang.Throwable int
StackMap stack:
iload 2
ifeq 19
17: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
18: goto 23
19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 23
20: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "Subscriber not yet subscribed: stored %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
21: aload 1
aastore
22: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
0 24 1 t Ljava/lang/Throwable;
12 14 2 subscribed Z
16 24 2 subscribed Z
Exception table:
from to target type
7 8 14 any
9 13 14 any
14 15 14 any
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
2: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
ifeq 4
aload 2
monitorexit
3: return
4: StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper top jdk.internal.net.http.common.SSLTube$DelegateWrapper
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
5: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedDone:Z
istore 1
start local 1 6: aload 2
monitorexit
7: goto 10
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
start local 1 10: StackMap locals: jdk.internal.net.http.common.SSLTube$DelegateWrapper int
StackMap stack:
iload 1
ifeq 14
11: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 12
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "DelegateWrapper: completing subscriber"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokeinterface jdk.internal.net.http.common.FlowTube$TubeSubscriber.onComplete:()V
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 16
15: aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.debug:Ljdk/internal/net/http/common/Logger;
ldc "Subscriber not yet subscribed: stored completed=true"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
6 8 1 subscribed Z
10 17 1 subscribed Z
Exception table:
from to target type
2 3 8 any
4 7 8 any
8 9 8 any
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DelegateWrapper[subscribedCalled: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedCalled:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
1: ldc ", subscribedDone: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.subscribedDone:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
2: ldc ", completed: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.completed:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
3: ldc ", error: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.error:Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.common.SSLTube$DelegateWrapper.delegate:Ljdk/internal/net/http/common/FlowTube$TubeSubscriber;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/common/SSLTube$DelegateWrapper;
public void onNext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.List
invokevirtual jdk.internal.net.http.common.SSLTube$DelegateWrapper.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SSLTube.java"
NestHost: jdk.internal.net.http.common.SSLTube
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
public abstract TubeSubscriber = jdk.internal.net.http.common.FlowTube$TubeSubscriber of jdk.internal.net.http.common.FlowTube
final DelegateWrapper = jdk.internal.net.http.common.SSLTube$DelegateWrapper of jdk.internal.net.http.common.SSLTube