Module jdk.jshell

Class LocalExecutionControl

java.lang.Object
jdk.jshell.execution.DirectExecutionControl
jdk.jshell.execution.LocalExecutionControl
All Implemented Interfaces:
AutoCloseable, ExecutionControl

public class LocalExecutionControl
extends DirectExecutionControl
An implementation of ExecutionControl which executes in the same JVM as the JShell-core.
Since:
9
  • Constructor Details

    • LocalExecutionControl

      public LocalExecutionControl(LoaderDelegate loaderDelegate)
      Creates an instance, delegating loader operations to the specified delegate.
      Parameters:
      loaderDelegate - the delegate to handle loading classes
    • LocalExecutionControl

      public LocalExecutionControl()
      Create an instance using the default class loading.