class org.junit.experimental.ParallelComputer$1 implements org.junit.runners.model.RunnerScheduler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.junit.experimental.ParallelComputer$1
super_class: java.lang.Object
{
private final java.util.concurrent.ExecutorService fService;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // org.junit.experimental.ParallelComputer$1 this
0: .line 34
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 35
aload 0 /* this */
invokestatic java.util.concurrent.Executors.newCachedThreadPool:()Ljava/util/concurrent/ExecutorService;
putfield org.junit.experimental.ParallelComputer$1.fService:Ljava/util/concurrent/ExecutorService;
2: .line 34
return
end local 0 // org.junit.experimental.ParallelComputer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/junit/experimental/ParallelComputer$1;
public void schedule(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.junit.experimental.ParallelComputer$1 this
start local 1 // java.lang.Runnable childStatement
0: .line 38
aload 0 /* this */
getfield org.junit.experimental.ParallelComputer$1.fService:Ljava/util/concurrent/ExecutorService;
aload 1 /* childStatement */
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
pop
1: .line 39
return
end local 1 // java.lang.Runnable childStatement
end local 0 // org.junit.experimental.ParallelComputer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/junit/experimental/ParallelComputer$1;
0 2 1 childStatement Ljava/lang/Runnable;
MethodParameters:
Name Flags
childStatement
public void finished();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 // org.junit.experimental.ParallelComputer$1 this
0: .line 43
aload 0 /* this */
getfield org.junit.experimental.ParallelComputer$1.fService:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
1: .line 44
aload 0 /* this */
getfield org.junit.experimental.ParallelComputer$1.fService:Ljava/util/concurrent/ExecutorService;
ldc 9223372036854775807
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
2: .line 45
goto 5
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: astore 1 /* e */
start local 1 // java.lang.InterruptedException e
4: .line 46
aload 1 /* e */
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.InterruptedException.printStackTrace:(Ljava/io/PrintStream;)V
end local 1 // java.lang.InterruptedException e
5: .line 48
StackMap locals:
StackMap stack:
return
end local 0 // org.junit.experimental.ParallelComputer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/junit/experimental/ParallelComputer$1;
4 5 1 e Ljava/lang/InterruptedException;
Exception table:
from to target type
0 2 3 Class java.lang.InterruptedException
}
SourceFile: "ParallelComputer.java"
EnclosingMethod: org.junit.experimental.ParallelComputer.parallelize:(Lorg/junit/runner/Runner;)Lorg/junit/runner/Runner;
NestHost: org.junit.experimental.ParallelComputer
InnerClasses:
org.junit.experimental.ParallelComputer$1