public class jdk.jshell.execution.DirectExecutionControl implements jdk.jshell.spi.ExecutionControl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.jshell.execution.DirectExecutionControl
super_class: java.lang.Object
{
private static final java.lang.String[] charRep;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.jshell.execution.LoaderDelegate loaderDelegate;
descriptor: Ljdk/jshell/execution/LoaderDelegate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=0
0: sipush 256
anewarray java.lang.String
putstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
1: iconst_0
istore 0
start local 0 2: goto 8
3: StackMap locals: int
StackMap stack:
getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
iload 0
iload 0
invokestatic java.lang.Character.isISOControl:(I)Z
ifeq 5
4: ldc "\\%03o"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
goto 6
5: StackMap locals: int
StackMap stack: java.lang.String[] int
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 0
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: StackMap locals: int
StackMap stack: java.lang.String[] int java.lang.String
aastore
7: iinc 0 1
StackMap locals:
StackMap stack:
8: iload 0
getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 0 9: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 8
ldc "\\b"
aastore
10: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 9
ldc "\\t"
aastore
11: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 10
ldc "\\n"
aastore
12: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 12
ldc "\\f"
aastore
13: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 13
ldc "\\r"
aastore
14: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
bipush 92
ldc "\\\\"
aastore
15: return
LocalVariableTable:
Start End Slot Name Signature
2 9 0 i I
public void <init>(jdk.jshell.execution.LoaderDelegate);
descriptor: (Ljdk/jshell/execution/LoaderDelegate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.jshell.execution.DirectExecutionControl.loaderDelegate:Ljdk/jshell/execution/LoaderDelegate;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 3 1 loaderDelegate Ljdk/jshell/execution/LoaderDelegate;
MethodParameters:
Name Flags
loaderDelegate
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new jdk.jshell.execution.DefaultLoaderDelegate
dup
invokespecial jdk.jshell.execution.DefaultLoaderDelegate.<init>:()V
invokespecial jdk.jshell.execution.DirectExecutionControl.<init>:(Ljdk/jshell/execution/LoaderDelegate;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DirectExecutionControl;
public void load(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DirectExecutionControl.loaderDelegate:Ljdk/jshell/execution/LoaderDelegate;
aload 1
invokeinterface jdk.jshell.execution.LoaderDelegate.load:([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 2 1 cbcs [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
cbcs
public void redefine(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jshell.spi.ExecutionControl$NotImplementedException
dup
ldc "redefine not supported"
invokespecial jdk.jshell.spi.ExecutionControl$NotImplementedException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 1 1 cbcs [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
cbcs
protected void classesRedefined(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DirectExecutionControl.loaderDelegate:Ljdk/jshell/execution/LoaderDelegate;
aload 1
invokeinterface jdk.jshell.execution.LoaderDelegate.classesRedefined:([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 2 1 cbcs [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
cbcs
public java.lang.String invoke(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.jshell.execution.DirectExecutionControl.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 1: aload 4
aload 2
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 2: aload 3
iconst_1
invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
end local 4 3: goto 6
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 4
start local 4 5: new jdk.jshell.spi.ExecutionControl$InternalException
dup
aload 4
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokespecial jdk.jshell.spi.ExecutionControl$InternalException.<init>:(Ljava/lang/String;)V
athrow
end local 4 start local 3 6: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeEnter:()V
7: aload 0
aload 3
invokevirtual jdk.jshell.execution.DirectExecutionControl.invoke:(Ljava/lang/reflect/Method;)Ljava/lang/String;
astore 4
start local 4 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
9: aload 4
astore 6
10: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
11: aload 6
areturn
end local 4 12: StackMap locals:
StackMap stack: jdk.jshell.spi.ExecutionControl$ExecutionControlException
astore 4
start local 4 13: aload 4
athrow
end local 4 14: StackMap locals:
StackMap stack: jdk.jshell.spi.SPIResolutionException
astore 4
start local 4 15: aload 0
aload 4
invokevirtual jdk.jshell.execution.DirectExecutionControl.throwConvertedInvocationException:(Ljava/lang/Throwable;)Ljava/lang/String;
astore 6
16: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
17: aload 6
areturn
end local 4 18: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 19: aload 0
aload 4
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokevirtual jdk.jshell.execution.DirectExecutionControl.throwConvertedInvocationException:(Ljava/lang/Throwable;)Ljava/lang/String;
astore 6
20: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
21: aload 6
areturn
end local 4 22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 23: aload 0
aload 4
invokevirtual jdk.jshell.execution.DirectExecutionControl.throwConvertedOtherException:(Ljava/lang/Throwable;)Ljava/lang/String;
astore 6
24: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
25: aload 6
areturn
end local 4 26: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
27: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
28: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 29 1 className Ljava/lang/String;
0 29 2 methodName Ljava/lang/String;
2 4 3 doitMethod Ljava/lang/reflect/Method;
6 29 3 doitMethod Ljava/lang/reflect/Method;
1 3 4 klass Ljava/lang/Class<*>;
5 6 4 ex Ljava/lang/Throwable;
8 12 4 result Ljava/lang/String;
13 14 4 ex Ljdk/jshell/spi/ExecutionControl$ExecutionControlException;
15 18 4 ex Ljdk/jshell/spi/SPIResolutionException;
19 22 4 ex Ljava/lang/reflect/InvocationTargetException;
23 26 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
6 10 12 Class jdk.jshell.spi.ExecutionControl$RunException
6 10 12 Class jdk.jshell.spi.ExecutionControl$InternalException
6 10 12 Class jdk.jshell.spi.ExecutionControl$EngineTerminationException
6 10 14 Class jdk.jshell.spi.SPIResolutionException
6 10 18 Class java.lang.reflect.InvocationTargetException
6 10 22 Class java.lang.Throwable
6 10 26 any
12 16 26 any
18 20 26 any
22 24 26 any
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$InternalException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
className
methodName
public java.lang.String varValue(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.jshell.execution.DirectExecutionControl.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 1: aload 4
aload 2
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 5
start local 5 2: aload 5
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
3: aload 5
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
end local 5 end local 4 start local 3 4: goto 7
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 4
start local 4 6: new jdk.jshell.spi.ExecutionControl$InternalException
dup
aload 4
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokespecial jdk.jshell.spi.ExecutionControl$InternalException.<init>:(Ljava/lang/String;)V
athrow
end local 4 start local 3 7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeEnter:()V
8: aload 3
invokestatic jdk.jshell.execution.DirectExecutionControl.valueString:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
9: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
10: aload 6
areturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 12: aload 0
aload 4
invokevirtual jdk.jshell.execution.DirectExecutionControl.throwConvertedInvocationException:(Ljava/lang/Throwable;)Ljava/lang/String;
astore 6
13: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
14: aload 6
areturn
end local 4 15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: aload 0
invokevirtual jdk.jshell.execution.DirectExecutionControl.clientCodeLeave:()V
17: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 18 1 className Ljava/lang/String;
0 18 2 varName Ljava/lang/String;
4 5 3 val Ljava/lang/Object;
7 18 3 val Ljava/lang/Object;
1 4 4 klass Ljava/lang/Class<*>;
2 4 5 var Ljava/lang/reflect/Field;
6 7 4 ex Ljava/lang/Throwable;
12 15 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
7 9 11 Class java.lang.Throwable
7 9 15 any
11 13 15 any
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
className
varName
public void addToClasspath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DirectExecutionControl.loaderDelegate:Ljdk/jshell/execution/LoaderDelegate;
aload 1
invokeinterface jdk.jshell.execution.LoaderDelegate.addToClasspath:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 2 1 cp Ljava/lang/String;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
cp
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jshell.spi.ExecutionControl$NotImplementedException
dup
ldc "stop: Not supported."
invokespecial jdk.jshell.spi.ExecutionControl$NotImplementedException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
public java.lang.Object extensionCommand(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.jshell.spi.ExecutionControl$NotImplementedException
dup
new java.lang.StringBuilder
dup
ldc "Unknown command: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jshell.spi.ExecutionControl$NotImplementedException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 1 1 command Ljava/lang/String;
0 1 2 arg Ljava/lang/Object;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
command
arg
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DirectExecutionControl.loaderDelegate:Ljdk/jshell/execution/LoaderDelegate;
aload 1
invokeinterface jdk.jshell.execution.LoaderDelegate.findClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
protected java.lang.String invoke(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokestatic jdk.jshell.execution.DirectExecutionControl.valueString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 2 1 doitMethod Ljava/lang/reflect/Method;
1 2 2 res Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
doitMethod
protected static java.lang.String valueString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String
ifeq 11
3: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
checkcast java.lang.String
invokevirtual java.lang.String.codePoints:()Ljava/util/stream/IntStream;
4: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/jshell/execution/DirectExecutionControl.lambda$0(I)Ljava/util/stream/IntStream; (6)
(I)Ljava/util/stream/IntStream;
invokeinterface java.util.stream.IntStream.flatMap:(Ljava/util/function/IntFunction;)Ljava/util/stream/IntStream;
5: invokedynamic get()Ljava/util/function/Supplier;
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;
java/lang/StringBuilder.<init>()V (8)
()Ljava/lang/StringBuilder;
6: invokedynamic accept()Ljava/util/function/ObjIntConsumer;
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;I)V
java/lang/StringBuilder.appendCodePoint(I)Ljava/lang/StringBuilder; (5)
(Ljava/lang/StringBuilder;I)V
7: invokedynamic accept()Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
java/lang/StringBuilder.append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; (5)
(Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;)V
8: invokeinterface java.util.stream.IntStream.collect:(Ljava/util/function/Supplier;Ljava/util/function/ObjIntConsumer;Ljava/util/function/BiConsumer;)Ljava/lang/Object;
checkcast java.lang.StringBuilder
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Character
ifeq 22
12: aload 0
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
istore 1
start local 1 13: new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: iload 1
bipush 39
if_icmpne 16
15: ldc "\\'"
goto 19
16: StackMap locals: java.lang.Object int
StackMap stack: java.lang.StringBuilder
iload 1
sipush 256
if_icmpge 18
17: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
iload 1
aaload
goto 19
18: StackMap locals:
StackMap stack: java.lang.StringBuilder
iload 1
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
19: StackMap locals: java.lang.Object int
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 53
23: iconst_0
istore 1
start local 1 24: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 25: StackMap locals: int java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 3
start local 3 26: aload 3
ifnonnull 28
27: goto 31
28: StackMap locals: java.lang.Class
StackMap stack:
iinc 1 1
29: aload 3
astore 2
end local 3 30: goto 25
31: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getTypeName:()Ljava/lang/String;
astore 3
start local 3 32: aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 4
start local 4 33: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 34: aload 5
aload 3
aload 3
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: aload 5
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: aload 5
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
37: aload 5
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: iconst_1
istore 6
start local 6 39: goto 42
40: StackMap locals: java.lang.Object int java.lang.Class java.lang.String int java.lang.StringBuilder int
StackMap stack:
aload 5
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: iinc 6 1
StackMap locals:
StackMap stack:
42: iload 6
iload 1
if_icmplt 40
end local 6 43: aload 5
ldc " { "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: iconst_0
istore 6
start local 6 45: goto 50
46: StackMap locals:
StackMap stack:
aload 5
aload 0
iload 6
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
invokestatic jdk.jshell.execution.DirectExecutionControl.valueString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: iload 6
iload 4
iconst_1
isub
if_icmpge 49
48: aload 5
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
49: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
50: iload 6
iload 4
if_icmplt 46
end local 6 51: aload 5
ldc " }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
52: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 53: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 value Ljava/lang/Object;
13 22 1 cp C
24 53 1 dims I
25 53 2 t Ljava/lang/Class<*>;
26 30 3 ct Ljava/lang/Class<*>;
32 53 3 tn Ljava/lang/String;
33 53 4 len I
34 53 5 sb Ljava/lang/StringBuilder;
39 43 6 i I
45 51 6 i I
MethodParameters:
Name Flags
value
protected java.lang.String throwConvertedInvocationException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.jshell.spi.SPIResolutionException
ifeq 3
1: aload 1
checkcast jdk.jshell.spi.SPIResolutionException
astore 2
start local 2 2: new jdk.jshell.spi.ExecutionControl$ResolutionException
dup
aload 2
invokevirtual jdk.jshell.spi.SPIResolutionException.id:()I
aload 2
invokevirtual jdk.jshell.spi.SPIResolutionException.getStackTrace:()[Ljava/lang/StackTraceElement;
invokespecial jdk.jshell.spi.ExecutionControl$ResolutionException.<init>:(I[Ljava/lang/StackTraceElement;)V
athrow
end local 2 3: StackMap locals:
StackMap stack:
new jdk.jshell.spi.ExecutionControl$UserException
dup
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
invokespecial jdk.jshell.spi.ExecutionControl$UserException.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/StackTraceElement;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 4 1 cause Ljava/lang/Throwable;
2 3 2 spire Ljdk/jshell/spi/SPIResolutionException;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
cause
protected java.lang.String throwConvertedOtherException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jshell.spi.ExecutionControl$InternalException
dup
aload 1
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
invokespecial jdk.jshell.spi.ExecutionControl$InternalException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
0 1 1 ex Ljava/lang/Throwable;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
ex
protected void clientCodeEnter();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$InternalException
protected void clientCodeLeave();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DirectExecutionControl;
Exceptions:
throws jdk.jshell.spi.ExecutionControl$InternalException
private static java.util.stream.IntStream lambda$0(int);
descriptor: (I)Ljava/util/stream/IntStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 34
if_icmpne 2
1: ldc "\\\""
invokevirtual java.lang.String.codePoints:()Ljava/util/stream/IntStream;
goto 5
2: StackMap locals:
StackMap stack:
iload 0
sipush 256
if_icmpge 4
3: getstatic jdk.jshell.execution.DirectExecutionControl.charRep:[Ljava/lang/String;
iload 0
aaload
invokevirtual java.lang.String.codePoints:()Ljava/util/stream/IntStream;
goto 5
4: StackMap locals:
StackMap stack:
iload 0
invokestatic java.util.stream.IntStream.of:(I)Ljava/util/stream/IntStream;
StackMap locals:
StackMap stack: java.util.stream.IntStream
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 cp I
}
SourceFile: "DirectExecutionControl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final ClassBytecodes = jdk.jshell.spi.ExecutionControl$ClassBytecodes of jdk.jshell.spi.ExecutionControl
public ClassInstallException = jdk.jshell.spi.ExecutionControl$ClassInstallException of jdk.jshell.spi.ExecutionControl
public EngineTerminationException = jdk.jshell.spi.ExecutionControl$EngineTerminationException of jdk.jshell.spi.ExecutionControl
public InternalException = jdk.jshell.spi.ExecutionControl$InternalException of jdk.jshell.spi.ExecutionControl
public NotImplementedException = jdk.jshell.spi.ExecutionControl$NotImplementedException of jdk.jshell.spi.ExecutionControl
public ResolutionException = jdk.jshell.spi.ExecutionControl$ResolutionException of jdk.jshell.spi.ExecutionControl
public abstract RunException = jdk.jshell.spi.ExecutionControl$RunException of jdk.jshell.spi.ExecutionControl
public UserException = jdk.jshell.spi.ExecutionControl$UserException of jdk.jshell.spi.ExecutionControl