class sun.awt.shell.Win32ShellFolderManager2$ComInvoker extends java.util.concurrent.ThreadPoolExecutor implements java.util.concurrent.ThreadFactory, sun.awt.shell.ShellFolder$Invoker
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.shell.Win32ShellFolderManager2$ComInvoker
super_class: java.util.concurrent.ThreadPoolExecutor
{
private static java.lang.Thread comThread;
descriptor: Ljava/lang/Thread;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=1
start local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
0: .line 535
aload 0 /* this */
iconst_1
iconst_1
lconst_0
getstatic java.util.concurrent.TimeUnit.DAYS:Ljava/util/concurrent/TimeUnit;
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;)V
1: .line 536
aload 0 /* this */
iconst_0
invokevirtual sun.awt.shell.Win32ShellFolderManager2$ComInvoker.allowCoreThreadTimeOut:(Z)V
2: .line 537
aload 0 /* this */
aload 0 /* this */
invokevirtual sun.awt.shell.Win32ShellFolderManager2$ComInvoker.setThreadFactory:(Ljava/util/concurrent/ThreadFactory;)V
3: .line 538
new sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1
dup
aload 0 /* this */
invokespecial sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.<init>:(Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;)V
astore 1 /* shutdownHook */
start local 1 // java.lang.Runnable shutdownHook
4: .line 548
new sun.awt.shell.Win32ShellFolderManager2$ComInvoker$2
dup
aload 0 /* this */
aload 1 /* shutdownHook */
invokespecial sun.awt.shell.Win32ShellFolderManager2$ComInvoker$2.<init>:(Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;Ljava/lang/Runnable;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: .line 556
return
end local 1 // java.lang.Runnable shutdownHook
end local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;
4 6 1 shutdownHook Ljava/lang/Runnable;
public synchronized java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
start local 1 // java.lang.Runnable task
0: .line 559
new sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3
dup
aload 0 /* this */
aload 1 /* task */
invokespecial sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.<init>:(Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;Ljava/lang/Runnable;)V
astore 2 /* comRun */
start local 2 // java.lang.Runnable comRun
1: .line 569
new sun.awt.shell.Win32ShellFolderManager2$ComInvoker$4
dup
aload 0 /* this */
aload 2 /* comRun */
invokespecial sun.awt.shell.Win32ShellFolderManager2$ComInvoker$4.<init>:(Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;Ljava/lang/Runnable;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Thread
putstatic sun.awt.shell.Win32ShellFolderManager2$ComInvoker.comThread:Ljava/lang/Thread;
2: .line 583
getstatic sun.awt.shell.Win32ShellFolderManager2$ComInvoker.comThread:Ljava/lang/Thread;
areturn
end local 2 // java.lang.Runnable comRun
end local 1 // java.lang.Runnable task
end local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;
0 3 1 task Ljava/lang/Runnable;
1 3 2 comRun Ljava/lang/Runnable;
MethodParameters:
Name Flags
task final
public <T> T invoke(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
start local 1 // java.util.concurrent.Callable task
0: .line 587
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
getstatic sun.awt.shell.Win32ShellFolderManager2$ComInvoker.comThread:Ljava/lang/Thread;
if_acmpne 2
1: .line 590
aload 1 /* task */
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
areturn
2: .line 595
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* task */
invokevirtual sun.awt.shell.Win32ShellFolderManager2$ComInvoker.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
astore 2 /* future */
start local 2 // java.util.concurrent.Future future
3: .line 596
goto 6
end local 2 // java.util.concurrent.Future future
StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
4: astore 3 /* e */
start local 3 // java.util.concurrent.RejectedExecutionException e
5: .line 597
new java.lang.InterruptedException
dup
aload 3 /* e */
invokevirtual java.util.concurrent.RejectedExecutionException.getMessage:()Ljava/lang/String;
invokespecial java.lang.InterruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 3 // java.util.concurrent.RejectedExecutionException e
start local 2 // java.util.concurrent.Future future
6: .line 601
StackMap locals: java.util.concurrent.Future
StackMap stack:
aload 2 /* future */
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
7: areturn
8: .line 602
StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 3 /* e */
start local 3 // java.lang.InterruptedException e
9: .line 603
new sun.awt.shell.Win32ShellFolderManager2$ComInvoker$5
dup
aload 0 /* this */
aload 2 /* future */
invokespecial sun.awt.shell.Win32ShellFolderManager2$ComInvoker$5.<init>:(Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;Ljava/util/concurrent/Future;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
10: .line 611
aload 3 /* e */
athrow
end local 3 // java.lang.InterruptedException e
11: .line 612
StackMap locals:
StackMap stack: java.util.concurrent.ExecutionException
astore 3 /* e */
start local 3 // java.util.concurrent.ExecutionException e
12: .line 613
aload 3 /* e */
invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
astore 4 /* cause */
start local 4 // java.lang.Throwable cause
13: .line 615
aload 4 /* cause */
instanceof java.lang.Exception
ifeq 15
14: .line 616
aload 4 /* cause */
checkcast java.lang.Exception
athrow
15: .line 619
StackMap locals: java.util.concurrent.ExecutionException java.lang.Throwable
StackMap stack:
aload 4 /* cause */
instanceof java.lang.Error
ifeq 17
16: .line 620
aload 4 /* cause */
checkcast java.lang.Error
athrow
17: .line 623
StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Unexpected error"
aload 4 /* cause */
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 // java.lang.Throwable cause
end local 3 // java.util.concurrent.ExecutionException e
end local 2 // java.util.concurrent.Future future
end local 1 // java.util.concurrent.Callable task
end local 0 // sun.awt.shell.Win32ShellFolderManager2$ComInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/shell/Win32ShellFolderManager2$ComInvoker;
0 18 1 task Ljava/util/concurrent/Callable<TT;>;
3 4 2 future Ljava/util/concurrent/Future<TT;>;
6 18 2 future Ljava/util/concurrent/Future<TT;>;
5 6 3 e Ljava/util/concurrent/RejectedExecutionException;
9 11 3 e Ljava/lang/InterruptedException;
12 18 3 e Ljava/util/concurrent/ExecutionException;
13 18 4 cause Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.util.concurrent.RejectedExecutionException
6 7 8 Class java.lang.InterruptedException
6 7 11 Class java.util.concurrent.ExecutionException
Exceptions:
throws java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)TT;
MethodParameters:
Name Flags
task
}
SourceFile: "Win32ShellFolderManager2.java"
NestHost: sun.awt.shell.Win32ShellFolderManager2
InnerClasses:
public abstract Invoker = sun.awt.shell.ShellFolder$Invoker of sun.awt.shell.ShellFolder
private ComInvoker = sun.awt.shell.Win32ShellFolderManager2$ComInvoker of sun.awt.shell.Win32ShellFolderManager2
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$2
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$4
sun.awt.shell.Win32ShellFolderManager2$ComInvoker$5