final class com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory
super_class: java.lang.Object
{
private final java.lang.ThreadGroup group;
descriptor: Ljava/lang/ThreadGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger index;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.security.Permission modifyThreadGroupPerm;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.Permission modifyThreadPerm;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.RuntimePermission
dup
ldc "modifyThreadGroup"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
putstatic com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.modifyThreadGroupPerm:Ljava/security/Permission;
1: new java.lang.RuntimePermission
dup
ldc "modifyThread"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
putstatic com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.modifyThreadPerm:Ljava/security/Permission;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.index:Ljava/util/concurrent/atomic/AtomicInteger;
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 0
aload 1
ifnull 4
aload 1
invokevirtual java.lang.SecurityManager.getThreadGroup:()Ljava/lang/ThreadGroup;
goto 5
4: StackMap locals: com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory java.lang.SecurityManager
StackMap stack: com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
5: StackMap locals: com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory java.lang.SecurityManager
StackMap stack: com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory java.lang.ThreadGroup
putfield com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.group:Ljava/lang/ThreadGroup;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/network/NetworkContext$URLLoaderThreadFactory;
3 7 1 sm Ljava/lang/SecurityManager;
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic run(Lcom/sun/webkit/network/NetworkContext$URLLoaderThreadFactory;Ljava/lang/Runnable;)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;
com/sun/webkit/network/NetworkContext$URLLoaderThreadFactory.lambda$0(Ljava/lang/Runnable;)Ljava/lang/Thread; (7)
()Ljava/lang/Thread;
1: aconst_null
iconst_2
anewarray java.security.Permission
dup
iconst_0
2: getstatic com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.modifyThreadGroupPerm:Ljava/security/Permission;
aastore
dup
iconst_1
getstatic com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.modifyThreadPerm:Ljava/security/Permission;
aastore
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.lang.Thread
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/network/NetworkContext$URLLoaderThreadFactory;
0 5 1 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
private java.lang.Thread lambda$0(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=2
start local 0 0: new java.lang.Thread
dup
aload 0
getfield com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.group:Ljava/lang/ThreadGroup;
aload 1
1: new java.lang.StringBuilder
dup
ldc "URL-Loader-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory.index:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V
astore 2
start local 2 3: aload 2
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
4: aload 2
invokevirtual java.lang.Thread.getPriority:()I
iconst_5
if_icmpeq 6
5: aload 2
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
6: StackMap locals: java.lang.Thread
StackMap stack:
aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/network/NetworkContext$URLLoaderThreadFactory;
3 7 2 t Ljava/lang/Thread;
}
SourceFile: "NetworkContext.java"
NestHost: com.sun.webkit.network.NetworkContext
InnerClasses:
private final URLLoaderThreadFactory = com.sun.webkit.network.NetworkContext$URLLoaderThreadFactory of com.sun.webkit.network.NetworkContext
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles