final class jdk.incubator.http.internal.common.SSLTube$DelegateWrapper implements jdk.incubator.http.internal.common.FlowTube$TubeSubscriber
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.common.SSLTube$DelegateWrapper
super_class: java.lang.Object
{
private final jdk.incubator.http.internal.common.FlowTube$TubeSubscriber delegate;
descriptor: Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.System$Logger debug;
descriptor: Ljava/lang/System$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/incubator/http/internal/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.incubator.http.internal.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>>, java.lang.System$Logger);
descriptor: (Ljava/util/concurrent/Flow$Subscriber;Ljava/lang/System$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.incubator.http.internal.common.FlowTube.asTubeSubscriber:(Ljava/util/concurrent/Flow$Subscriber;)Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
putfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
2: aload 0
aload 2
putfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/common/SSLTube$DelegateWrapper;
0 4 1 delegate Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
0 4 2 debug Ljava/lang/System$Logger;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/util/List<Ljava/nio/ByteBuffer;>;>;Ljava/lang/System$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.incubator.http.internal.common.SSLTube$DelegateWrapper.subscribedCalled:Z
ifeq 2
aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
ifne 2
1: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokeinterface jdk.incubator.http.internal.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/incubator/http/internal/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.incubator.http.internal.common.SSLTube$DelegateWrapper.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.incubator.http.internal.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/incubator/http/internal/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.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljdk/incubator/http/internal/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.incubator.http.internal.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/incubator/http/internal/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=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper.subscribedDone:Z
4: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.error:Ljava/lang/Throwable;
astore 3
start local 3 5: aload 0
getfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper java.util.function.Consumer java.util.concurrent.Flow$Subscription top top jdk.incubator.http.internal.common.SSLTube$DelegateWrapper
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
start local 3 start local 4 10: StackMap locals: jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
12: ldc "Subscriber completed before subscribe: forwarding %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 3
aastore
14: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
15: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aload 3
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
16: goto 22
StackMap locals:
StackMap stack:
17: iload 4
ifeq 22
18: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
19: ldc "Subscriber completed before subscribe: calling onComplete()"
20: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
21: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onComplete:()V
22: 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 23 0 this Ljdk/incubator/http/internal/common/SSLTube$DelegateWrapper;
0 23 1 method Ljava/util/function/Consumer<Ljava/util/concurrent/Flow$Subscription;>;
0 23 2 subscription Ljava/util/concurrent/Flow$Subscription;
5 8 3 x Ljava/lang/Throwable;
10 23 3 x Ljava/lang/Throwable;
6 8 4 finished Z
10 23 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=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
ifeq 6
1: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
2: ldc "Subscriber already completed: ignoring %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 1
aastore
4: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
dup
astore 3
monitorenter
7: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
ifeq 9
aload 3
monitorexit
8: return
9: StackMap locals: jdk.incubator.http.internal.common.SSLTube$DelegateWrapper java.lang.Throwable top jdk.incubator.http.internal.common.SSLTube$DelegateWrapper
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.error:Ljava/lang/Throwable;
10: aload 0
iconst_1
putfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
11: aload 0
getfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper java.lang.Throwable int
StackMap stack:
iload 2
ifeq 19
17: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
aload 1
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onError:(Ljava/lang/Throwable;)V
18: goto 23
19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
20: ldc "Subscriber not yet subscribed: stored %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
21: aload 1
aastore
22: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;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/incubator/http/internal/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=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
2: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
ifeq 4
aload 2
monitorexit
3: return
4: StackMap locals: jdk.incubator.http.internal.common.SSLTube$DelegateWrapper top jdk.incubator.http.internal.common.SSLTube$DelegateWrapper
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.completed:Z
5: aload 0
getfield jdk.incubator.http.internal.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.incubator.http.internal.common.SSLTube$DelegateWrapper int
StackMap stack:
iload 1
ifeq 14
11: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "DelegateWrapper: completing subscriber"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
12: aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokeinterface jdk.incubator.http.internal.common.FlowTube$TubeSubscriber.onComplete:()V
13: goto 17
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
15: ldc "Subscriber not yet subscribed: stored completed=true"
16: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/incubator/http/internal/common/SSLTube$DelegateWrapper;
6 8 1 subscribed Z
10 18 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:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.internal.common.SSLTube$DelegateWrapper.delegate:Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/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.incubator.http.internal.common.SSLTube$DelegateWrapper.onNext:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SSLTube.java"
NestHost: jdk.incubator.http.internal.common.SSLTube
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
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.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube
final DelegateWrapper = jdk.incubator.http.internal.common.SSLTube$DelegateWrapper of jdk.incubator.http.internal.common.SSLTube