All Classes and Interfaces
Class
Description
A simple
ConstantPoolControl
that restricts which classes can be referenced by ClassEntry
's.Captures a compilation error.
Configuration object for
JavaBox
instances.Builder for
Config
instances.A JavaBox
Control
that restricts the what's allowed to appear in the constant pool.Monitors, modifies, and/or restricts the execution of scripts running in a
JavaBox
.The per-execution context associated with a
Control
.Thrown when a script does something that exceeds imposed limits or otherwise is not allowed
by a configured
Control
.Exception thrown when an illegal entry is found in the constant pool.
A container for scripts written in the Java language.
Thrown when some unexpected error occurs during a
JavaBox
operation.The
LocalExecutionControl
used by JavaBox
itself.The
LocalContextExecutionControlProvider
used by JavaBox
.Represents a character offset into a
String
, along with associated line and column offsets.A
LocalExecutionControl
that provides the ability to add thread-local context to the execution of
each JShell snippet.Same as
LocalExecutionControlProvider
, but with additional support for handling certain
class path and class loading issues.A JShell
LoaderDelegate
that uses a MemoryClassLoader
.A checker for
ScriptResult
s that imposes some set of requirements that must be satisfied.Exception thrown by a
ResultChecker
when a requirement is violated.The result from executing a script in a
JavaBox
.Indicates failure due to one or more compiler errors.
Indicates failure due to one or more compiler semantic errors.
Indicates failure due to one or more compiler parsing/syntax errors.
Indicates that the bytecode generated by the snippet could not be loaded because it violated some
Control
.Indicates an exception was thrown during the execution of the snippet.
Implemented by
SnippetOutcome
s that will cause a script to stop executing.Implemented by
SnippetOutcome
s for which there is an associated exception.Implemented by
SnippetOutcome
s for which enough progress was made to define a JShell Snippet
.Indicates that the snippet's execution was interrupted.
Indicates that a declaration was successfully compiled, but the declaration was overwritten by
a later snippet in the same source.
Indicates a successful outcome.
Indicates a successful outcome for which no value was returned, e.g., the invocation of a void method,
the declaration for which no unresolved references remain, etc.
Indicates a successful outcome for which some value was returned, e.g., an evaluated expression
or the invocation of a non-void method.
Indicates that the snippet invoked
JavaBox.suspend()
.Indicates that a declaration was successful but it contained unresolved references and those
references were not resolved by any subsequent snippets in the same source.
This is a simple wrapper around a
String
in which StringWrapper.toString()
returns the wrapped String
.A JavaBox
Control
that limits the amount of time that a script snippet may execute.Exception thrown when a script exceeds the time limit imposed by a
TimeLimitControl
.