class jdk.incubator.http.ExecutorWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.ExecutorWrapper
super_class: java.lang.Object
{
final java.util.concurrent.Executor userExecutor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0010) ACC_FINAL
final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0010) ACC_FINAL
final java.lang.ClassLoader ccl;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0010) ACC_FINAL
public void <init>(java.util.concurrent.Executor, java.security.AccessControlContext);
descriptor: (Ljava/util/concurrent/Executor;Ljava/security/AccessControlContext;)V
flags: (0x0001) ACC_PUBLIC
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
putfield jdk.incubator.http.ExecutorWrapper.userExecutor:Ljava/util/concurrent/Executor;
2: aload 0
aload 2
putfield jdk.incubator.http.ExecutorWrapper.acc:Ljava/security/AccessControlContext;
3: aload 0
aload 0
invokevirtual jdk.incubator.http.ExecutorWrapper.getCCL:()Ljava/lang/ClassLoader;
putfield jdk.incubator.http.ExecutorWrapper.ccl:Ljava/lang/ClassLoader;
4: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 7
5: aload 0
aload 1
putfield jdk.incubator.http.ExecutorWrapper.executor:Ljava/util/concurrent/Executor;
6: goto 8
7: StackMap locals: jdk.incubator.http.ExecutorWrapper java.util.concurrent.Executor java.security.AccessControlContext
StackMap stack:
aload 0
aload 0
invokedynamic execute(Ljdk/incubator/http/ExecutorWrapper;)Ljava/util/concurrent/Executor;
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/Runnable;)V
jdk/incubator/http/ExecutorWrapper.run(Ljava/lang/Runnable;)V (5)
(Ljava/lang/Runnable;)V
putfield jdk.incubator.http.ExecutorWrapper.executor:Ljava/util/concurrent/Executor;
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/ExecutorWrapper;
0 9 1 userExecutor Ljava/util/concurrent/Executor;
0 9 2 acc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
userExecutor
acc
private java.lang.ClassLoader getCCL();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokedynamic run()Ljava/security/PrivilegedAction;
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/incubator/http/ExecutorWrapper.lambda$1()Ljava/lang/ClassLoader; (6)
()Ljava/lang/ClassLoader;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/ExecutorWrapper;
private void prepareThread();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 1
instanceof jdk.internal.misc.InnocuousThread
ifne 3
2: return
3: StackMap locals: java.lang.Thread
StackMap stack:
aload 1
checkcast jdk.internal.misc.InnocuousThread
astore 2
start local 2 4: aload 0
aload 2
invokedynamic run(Ljdk/incubator/http/ExecutorWrapper;Ljdk/internal/misc/InnocuousThread;)Ljava/security/PrivilegedAction;
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/incubator/http/ExecutorWrapper.lambda$2(Ljdk/internal/misc/InnocuousThread;)Ljava/lang/Void; (7)
()Ljava/lang/Void;
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/ExecutorWrapper;
1 7 1 me Ljava/lang/Thread;
4 7 2 innocuousMe Ljdk/internal/misc/InnocuousThread;
void run(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.http.ExecutorWrapper.prepareThread:()V
1: aload 0
getfield jdk.incubator.http.ExecutorWrapper.userExecutor:Ljava/util/concurrent/Executor;
aload 1
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 2
start local 2 4: aload 2
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/ExecutorWrapper;
0 6 1 r Ljava/lang/Runnable;
4 5 2 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
r
public java.util.concurrent.Executor userExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.ExecutorWrapper.userExecutor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/ExecutorWrapper;
public java.util.concurrent.Executor executor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.ExecutorWrapper.executor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/ExecutorWrapper;
private static java.lang.ClassLoader lambda$1();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Void lambda$2(jdk.internal.misc.InnocuousThread);
descriptor: (Ljdk/internal/misc/InnocuousThread;)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 1
aload 0
getfield jdk.incubator.http.ExecutorWrapper.ccl:Ljava/lang/ClassLoader;
invokevirtual jdk.internal.misc.InnocuousThread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
1: aload 1
invokevirtual jdk.internal.misc.InnocuousThread.eraseThreadLocals:()V
2: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/ExecutorWrapper;
}
SourceFile: "ExecutorWrapper.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles