abstract class jdk.jshell.TaskFactory$BaseTask
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jshell.TaskFactory$BaseTask
super_class: java.lang.Object
{
final javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics;
descriptor: Ljavax/tools/DiagnosticCollector;
flags: (0x0010) ACC_FINAL
Signature: Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;
final com.sun.tools.javac.api.JavacTaskImpl task;
descriptor: Lcom/sun/tools/javac/api/JavacTaskImpl;
flags: (0x0010) ACC_FINAL
private jdk.jshell.DiagList diags;
descriptor: Ljdk/jshell/DiagList;
flags: (0x0002) ACC_PRIVATE
private final jdk.jshell.TaskFactory$SourceHandler<?> sourceHandler;
descriptor: Ljdk/jshell/TaskFactory$SourceHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jshell/TaskFactory$SourceHandler<*>;
final com.sun.tools.javac.util.Context context;
descriptor: Lcom/sun/tools/javac/util/Context;
flags: (0x0010) ACC_FINAL
private com.sun.tools.javac.code.Types types;
descriptor: Lcom/sun/tools/javac/code/Types;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.util.JavacMessages messages;
descriptor: Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0002) ACC_PRIVATE
private com.sun.source.util.Trees trees;
descriptor: Lcom/sun/source/util/Trees;
flags: (0x0002) ACC_PRIVATE
final jdk.jshell.TaskFactory this$0;
descriptor: Ljdk/jshell/TaskFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private <T> void <init>(jdk.jshell.TaskFactory$SourceHandler<T>, com.sun.tools.javac.api.JavacTaskImpl, javax.tools.DiagnosticCollector<javax.tools.JavaFileObject>);
descriptor: (Ljdk/jshell/TaskFactory;Ljdk/jshell/TaskFactory$SourceHandler;Lcom/sun/tools/javac/api/JavacTaskImpl;Ljavax/tools/DiagnosticCollector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aconst_null
putfield jdk.jshell.TaskFactory$BaseTask.diags:Ljdk/jshell/DiagList;
3: aload 0
aload 2
putfield jdk.jshell.TaskFactory$BaseTask.sourceHandler:Ljdk/jshell/TaskFactory$SourceHandler;
4: aload 0
aload 3
putfield jdk.jshell.TaskFactory$BaseTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
5: aload 0
aload 3
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.getContext:()Lcom/sun/tools/javac/util/Context;
putfield jdk.jshell.TaskFactory$BaseTask.context:Lcom/sun/tools/javac/util/Context;
6: aload 0
aload 4
putfield jdk.jshell.TaskFactory$BaseTask.diagnostics:Ljavax/tools/DiagnosticCollector;
7: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jshell/TaskFactory$BaseTask;
0 8 2 sh Ljdk/jshell/TaskFactory$SourceHandler<TT;>;
0 8 3 task Lcom/sun/tools/javac/api/JavacTaskImpl;
0 8 4 diagnostics Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;
Signature: <T:Ljava/lang/Object;>(Ljdk/jshell/TaskFactory$SourceHandler<TT;>;Lcom/sun/tools/javac/api/JavacTaskImpl;Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
this$0 final
sh
task
diagnostics
abstract java.lang.Iterable<? extends com.sun.source.tree.CompilationUnitTree> cuTrees();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0400) ACC_ABSTRACT
Signature: ()Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
com.sun.source.tree.CompilationUnitTree firstCuTree();
descriptor: ()Lcom/sun/source/tree/CompilationUnitTree;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.TaskFactory$BaseTask.cuTrees:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.source.tree.CompilationUnitTree
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$BaseTask;
jdk.jshell.Diag diag(javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>);
descriptor: (Ljavax/tools/Diagnostic;)Ljdk/jshell/Diag;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.sourceHandler:Ljdk/jshell/TaskFactory$SourceHandler;
aload 1
invokeinterface jdk.jshell.TaskFactory$SourceHandler.diag:(Ljavax/tools/Diagnostic;)Ljdk/jshell/Diag;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$BaseTask;
0 1 1 diag Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
Signature: (Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;)Ljdk/jshell/Diag;
MethodParameters:
Name Flags
diag
com.sun.tools.javac.util.Context getContext();
descriptor: ()Lcom/sun/tools/javac/util/Context;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.context:Lcom/sun/tools/javac/util/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$BaseTask;
com.sun.tools.javac.code.Types types();
descriptor: ()Lcom/sun/tools/javac/code/Types;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.types:Lcom/sun/tools/javac/code/Types;
ifnonnull 2
1: aload 0
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.code.Types.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Types;
putfield jdk.jshell.TaskFactory$BaseTask.types:Lcom/sun/tools/javac/code/Types;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.types:Lcom/sun/tools/javac/code/Types;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/TaskFactory$BaseTask;
com.sun.tools.javac.util.JavacMessages messages();
descriptor: ()Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.messages:Lcom/sun/tools/javac/util/JavacMessages;
ifnonnull 2
1: aload 0
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.util.JavacMessages.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/JavacMessages;
putfield jdk.jshell.TaskFactory$BaseTask.messages:Lcom/sun/tools/javac/util/JavacMessages;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.messages:Lcom/sun/tools/javac/util/JavacMessages;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/TaskFactory$BaseTask;
com.sun.source.util.Trees trees();
descriptor: ()Lcom/sun/source/util/Trees;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.trees:Lcom/sun/source/util/Trees;
ifnonnull 2
1: aload 0
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
invokestatic com.sun.source.util.Trees.instance:(Ljavax/tools/JavaCompiler$CompilationTask;)Lcom/sun/source/util/Trees;
putfield jdk.jshell.TaskFactory$BaseTask.trees:Lcom/sun/source/util/Trees;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.trees:Lcom/sun/source/util/Trees;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/TaskFactory$BaseTask;
jdk.jshell.DiagList getDiagnostics();
descriptor: ()Ljdk/jshell/DiagList;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.diags:Ljdk/jshell/DiagList;
ifnonnull 9
1: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 2: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.diagnostics:Ljavax/tools/DiagnosticCollector;
invokevirtual javax.tools.DiagnosticCollector.getDiagnostics:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.Diagnostic
astore 2
start local 2 4: aload 0
aload 2
invokevirtual jdk.jshell.TaskFactory$BaseTask.diag:(Ljavax/tools/Diagnostic;)Ljdk/jshell/Diag;
astore 4
start local 4 5: new java.lang.StringBuilder
dup
aload 4
invokevirtual jdk.jshell.Diag.getCode:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual jdk.jshell.Diag.getPosition:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getstatic jdk.jshell.Util.PARSED_LOCALE:Ljava/util/Locale;
invokevirtual jdk.jshell.Diag.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 6: aload 1
aload 5
aload 4
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
new jdk.jshell.DiagList
dup
aload 1
invokevirtual java.util.LinkedHashMap.values:()Ljava/util/Collection;
invokespecial jdk.jshell.DiagList.<init>:(Ljava/util/Collection;)V
putfield jdk.jshell.TaskFactory$BaseTask.diags:Ljdk/jshell/DiagList;
end local 1 9: StackMap locals: jdk.jshell.TaskFactory$BaseTask
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.diags:Ljdk/jshell/DiagList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jshell/TaskFactory$BaseTask;
2 9 1 diagMap Ljava/util/LinkedHashMap<Ljava/lang/String;Ljdk/jshell/Diag;>;
4 7 2 in Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
5 7 4 d Ljdk/jshell/Diag;
6 7 5 uniqueKey Ljava/lang/String;
boolean hasErrors();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.TaskFactory$BaseTask.getDiagnostics:()Ljdk/jshell/DiagList;
invokevirtual jdk.jshell.DiagList.hasErrors:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$BaseTask;
java.lang.String shortErrorMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=8, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual jdk.jshell.TaskFactory$BaseTask.getDiagnostics:()Ljdk/jshell/DiagList;
invokevirtual jdk.jshell.DiagList.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jshell.Diag
astore 2
start local 2 3: aload 2
getstatic jdk.jshell.Util.PARSED_LOCALE:Ljava/util/Locale;
invokevirtual jdk.jshell.Diag.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
ldc "\\r?\\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.StringBuilder jdk.jshell.Diag java.util.Iterator top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "location:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
6: aload 1
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 4
end local 2 9: StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jshell/TaskFactory$BaseTask;
1 11 1 sb Ljava/lang/StringBuilder;
3 9 2 diag Ljdk/jshell/Diag;
5 7 4 line Ljava/lang/String;
void debugPrintDiagnostics(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=8, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jshell.TaskFactory$BaseTask.getDiagnostics:()Ljdk/jshell/DiagList;
invokevirtual jdk.jshell.DiagList.iterator:()Ljava/util/Iterator;
astore 3
goto 40
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jshell.Diag
astore 2
start local 2 2: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "ERROR --\n"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
3: aload 2
getstatic jdk.jshell.Util.PARSED_LOCALE:Ljava/util/Locale;
invokevirtual jdk.jshell.Diag.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
ldc "\\r?\\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.String jdk.jshell.Diag java.util.Iterator top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "location:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
6: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "%s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 4
9: aload 2
invokevirtual jdk.jshell.Diag.getStartPosition:()J
l2i
istore 4
start local 4 10: aload 2
invokevirtual jdk.jshell.Diag.getEndPosition:()J
l2i
istore 5
start local 5 11: aload 1
ifnull 33
12: aload 1
ldc "\\r?\\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 13: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 17
StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.String jdk.jshell.Diag java.util.Iterator int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
14: aload 10
iload 8
aaload
astore 7
start local 7 15: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "%s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
end local 7 16: iinc 8 1
StackMap locals:
StackMap stack:
17: iload 8
iload 9
if_icmplt 14
18: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 19: iconst_0
istore 8
start local 8 20: goto 23
21: StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.String jdk.jshell.Diag java.util.Iterator int int java.lang.String[] java.lang.StringBuilder int
StackMap stack:
aload 7
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
22: iinc 8 1
StackMap locals:
StackMap stack:
23: iload 8
iload 4
if_icmplt 21
end local 8 24: aload 7
bipush 94
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: iload 5
iload 4
if_icmple 32
26: iload 4
iconst_1
iadd
istore 8
start local 8 27: goto 30
28: StackMap locals:
StackMap stack:
aload 7
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
29: iinc 8 1
StackMap locals:
StackMap stack:
30: iload 8
iload 5
if_icmplt 28
end local 8 31: aload 7
bipush 94
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "%s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
end local 7 end local 6 33: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "printDiagnostics start-pos = %d ==> %d -- wrap = %s\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
34: aload 2
invokevirtual jdk.jshell.Diag.getStartPosition:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
aastore
35: invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
36: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "Code: %s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual jdk.jshell.Diag.getCode:()Ljava/lang/String;
aastore
invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
37: aload 0
getfield jdk.jshell.TaskFactory$BaseTask.this$0:Ljdk/jshell/TaskFactory;
getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
iconst_1
ldc "Pos: %d (%d - %d) -- %s\n"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual jdk.jshell.Diag.getPosition:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
38: aload 2
invokevirtual jdk.jshell.Diag.getStartPosition:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 2
invokevirtual jdk.jshell.Diag.getEndPosition:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 2
aconst_null
invokevirtual jdk.jshell.Diag.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
aastore
39: invokevirtual jdk.jshell.JShell.debug:(ILjava/lang/String;[Ljava/lang/Object;)V
end local 5 end local 4 end local 2 40: StackMap locals: jdk.jshell.TaskFactory$BaseTask java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
41: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljdk/jshell/TaskFactory$BaseTask;
0 42 1 src Ljava/lang/String;
2 40 2 diag Ljdk/jshell/Diag;
5 7 4 line Ljava/lang/String;
10 40 4 start I
11 40 5 end I
13 33 6 srcLines [Ljava/lang/String;
15 16 7 line Ljava/lang/String;
19 33 7 sb Ljava/lang/StringBuilder;
20 24 8 i I
27 31 8 i I
MethodParameters:
Name Flags
src
}
SourceFile: "TaskFactory.java"
NestHost: jdk.jshell.TaskFactory
InnerClasses:
public abstract CompilationTask = javax.tools.JavaCompiler$CompilationTask of javax.tools.JavaCompiler
abstract BaseTask = jdk.jshell.TaskFactory$BaseTask of jdk.jshell.TaskFactory
private abstract SourceHandler = jdk.jshell.TaskFactory$SourceHandler of jdk.jshell.TaskFactory