类的用途
jdk.jshell.spi.ExecutionControl.EngineTerminationException
-
ExecutionControl.EngineTerminationException 在 jdk.jshell.execution 中的用法
修饰符和类型方法描述voidDirectExecutionControl.addToClasspath(String cp) voidLoaderDelegate.addToClasspath(String path) 将路径添加到执行类路径。voidStreamingExecutionControl.addToClasspath(String path) protected voidDirectExecutionControl.classesRedefined(ExecutionControl.ClassBytecodes[] cbcs) 通知类已被重新定义。DirectExecutionControl.extensionCommand(String command, Object arg) StreamingExecutionControl.extensionCommand(String command, Object arg) voidDirectExecutionControl.load(ExecutionControl.ClassBytecodes[] cbcs) voidLoaderDelegate.load(ExecutionControl.ClassBytecodes[] cbcs) 尝试加载新类。voidStreamingExecutionControl.load(ExecutionControl.ClassBytecodes[] cbcs) voidDirectExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) voidJdiExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) 重新定义指定的类。voidRemoteExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) 对端的重定义处理只是为了注册重定义的类voidStreamingExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) voidDirectExecutionControl.stop()中断正在运行的调用。voidJdiDefaultExecutionControl.stop()通过操纵远程变量并通过 JDI 发送停止来中断正在运行的远程调用。voidRemoteExecutionControl.stop()voidStreamingExecutionControl.stop()protected VirtualMachineJdiDefaultExecutionControl.vm()protected abstract VirtualMachineJdiExecutionControl.vm()返回 JDIVirtualMachine实例。 -
ExecutionControl.EngineTerminationException 在 jdk.jshell.spi 中的用法
修饰符和类型方法描述voidExecutionControl.addToClasspath(String path) 将路径添加到执行类路径。ExecutionControl.extensionCommand(String command, Object arg) 运行非标准命令(或来自较新版本的标准命令)。通过调用指定包装器类上的方法来调用可执行代码段。voidExecutionControl.load(ExecutionControl.ClassBytecodes[] cbcs) 尝试加载新类。voidExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) 尝试重新定义以前加载的类。voidExecutionControl.stop()中断正在运行的调用。返回变量的值。