Package | Description |
---|---|
jdk.jshell.execution |
Provides implementation support for building JShell execution engines.
|
jdk.jshell.spi |
Defines the Service Provider Interface for pluggable JShell execution engines.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
DirectExecutionControl.extensionCommand(String command,
Object arg) |
|
Object |
StreamingExecutionControl.extensionCommand(String command,
Object arg) |
|
String |
DirectExecutionControl.invoke(String className,
String methodName) |
|
String |
JdiDefaultExecutionControl.invoke(String classname,
String methodname) |
|
String |
StreamingExecutionControl.invoke(String classname,
String methodname) |
|
protected String |
DirectExecutionControl.throwConvertedInvocationException(Throwable cause) |
Converts incoming exceptions in user code into instances of subtypes of
ExecutionControl.ExecutionControlException and throws the
converted exception. |
protected String |
RemoteExecutionControl.throwConvertedInvocationException(Throwable cause) |
|
protected String |
DirectExecutionControl.throwConvertedOtherException(Throwable ex) |
Converts incoming exceptions in agent code into instances of subtypes of
ExecutionControl.ExecutionControlException and throws the
converted exception. |
protected String |
RemoteExecutionControl.throwConvertedOtherException(Throwable ex) |
|
String |
DirectExecutionControl.varValue(String className,
String varName) |
|
String |
RemoteExecutionControl.varValue(String className,
String varName) |
|
String |
StreamingExecutionControl.varValue(String classname,
String varname) |
Modifier and Type | Class | Description |
---|---|---|
static class |
ExecutionControl.ResolutionException |
An exception indicating that a
DeclarationSnippet with unresolved
references has been encountered. |
static class |
ExecutionControl.StoppedException |
An exception indicating that an
ExecutionControl.invoke(java.lang.String, java.lang.String)
(or theoretically a
ExecutionControl.varValue(java.lang.String, java.lang.String) )
has been interrupted by a ExecutionControl.stop() . |
static class |
ExecutionControl.UserException |
A 'normal' user exception occurred.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
ExecutionControl.extensionCommand(String command,
Object arg) |
Run a non-standard command (or a standard command from a newer version).
|
String |
ExecutionControl.invoke(String className,
String methodName) |
Invokes an executable Snippet by calling a method on the specified
wrapper class.
|
String |
ExecutionControl.varValue(String className,
String varName) |
Returns the value of a variable.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b149-1