クラス jdk.jshell.spi.ExecutionControl.ClassBytecodesの
使用
| パッケージ | 説明 |
|---|---|
| jdk.jshell.execution |
JShell実行エンジンを構築するための実装サポートを提供します。
|
| jdk.jshell.spi |
プラガブルJShell実行エンジン用のサービス・プロバイダ・インタフェースを定義します。
|
-
jdk.jshell.executionでのExecutionControl.ClassBytecodesの使用
型ExecutionControl.ClassBytecodesのパラメータを持つjdk.jshell.executionのメソッド 修飾子と型 メソッド 説明 protected voidDirectExecutionControl. classesRedefined(ExecutionControl.ClassBytecodes[] cbcs)クラスが再定義されたことを通知します。voidLoaderDelegate. classesRedefined(ExecutionControl.ClassBytecodes[] cbcs)クラスが再定義されたことを通知します。voidLoaderDelegate. load(ExecutionControl.ClassBytecodes[] cbcs)新しいクラスをロードしようとします。voidJdiExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)指定されたクラスを再定義します。voidRemoteExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)リモート・エンドでの処理の再定義は、再定義されたクラスの登録のみです -
jdk.jshell.spiでのExecutionControl.ClassBytecodesの使用
型ExecutionControl.ClassBytecodesのパラメータを持つjdk.jshell.spiのメソッド 修飾子と型 メソッド 説明 voidExecutionControl. load(ExecutionControl.ClassBytecodes[] cbcs)新しいクラスをロードしようとします。voidExecutionControl. redefine(ExecutionControl.ClassBytecodes[] cbcs)以前にロードされたクラスを再定義しようとします。