类的用途
jdk.jshell.spi.ExecutionControl.ClassBytecodes
-
ExecutionControl.ClassBytecodes 在 jdk.jshell.execution 中的用法
修饰符和类型方法描述protected voidDirectExecutionControl.classesRedefined(ExecutionControl.ClassBytecodes[] cbcs) 通知类已被重新定义。voidLoaderDelegate.classesRedefined(ExecutionControl.ClassBytecodes[] cbcs) 通知类已被重新定义。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) -
ExecutionControl.ClassBytecodes 在 jdk.jshell.spi 中的用法
jdk.jshell.spi 中的方法,参数类型为 ExecutionControl.ClassBytecodes修饰符和类型方法描述voidExecutionControl.load(ExecutionControl.ClassBytecodes[] cbcs) 尝试加载新类。voidExecutionControl.redefine(ExecutionControl.ClassBytecodes[] cbcs) 尝试重新定义以前加载的类。