34 * Generally, this is only package that would be needed for creating tools. 35 * </p> 36 * <p> 37 * The {@link jdk.jshell.spi} package specifies a Service Provider Interface (SPI) 38 * for defining execution engine implementations for tools based on the 39 * {@link jdk.jshell} API. The {@link jdk.jshell.execution} package provides 40 * standard implementations of {@link jdk.jshell.spi} interfaces and supporting code. It 41 * also serves as a library of functionality for defining new execution engine 42 * implementations. 43 * </p> 44 * <p> 45 * The {@link jdk.jshell.tool} supports programmatically launching the 46 * "jshell tool". 47 * </p> 48 * <p> 49 * The {@link jdk.jshell.execution} package contains implementations of the 50 * interfaces in {@link jdk.jshell.spi}. Otherwise, the four packages are 51 * independent, operate at different levels, and do not share functionality or 52 * definitions. 53 * </p> 54 */ 55 module jdk.jshell { 56 requires transitive java.compiler; 57 requires transitive jdk.jdi; 58 requires transitive java.prefs; 59 requires java.logging; 60 requires jdk.compiler; 61 requires jdk.internal.le; 62 requires jdk.internal.ed; 63 requires jdk.internal.opt; 64 65 exports jdk.jshell; 66 exports jdk.jshell.spi; 67 exports jdk.jshell.execution; 68 exports jdk.jshell.tool; 69 70 uses jdk.jshell.spi.ExecutionControlProvider; 71 uses jdk.internal.editor.spi.BuildInEditorProvider; 72 73 provides javax.tools.Tool | 34 * Generally, this is only package that would be needed for creating tools. 35 * </p> 36 * <p> 37 * The {@link jdk.jshell.spi} package specifies a Service Provider Interface (SPI) 38 * for defining execution engine implementations for tools based on the 39 * {@link jdk.jshell} API. The {@link jdk.jshell.execution} package provides 40 * standard implementations of {@link jdk.jshell.spi} interfaces and supporting code. It 41 * also serves as a library of functionality for defining new execution engine 42 * implementations. 43 * </p> 44 * <p> 45 * The {@link jdk.jshell.tool} supports programmatically launching the 46 * "jshell tool". 47 * </p> 48 * <p> 49 * The {@link jdk.jshell.execution} package contains implementations of the 50 * interfaces in {@link jdk.jshell.spi}. Otherwise, the four packages are 51 * independent, operate at different levels, and do not share functionality or 52 * definitions. 53 * </p> 54 * 55 * @since 9 56 */ 57 module jdk.jshell { 58 requires transitive java.compiler; 59 requires transitive jdk.jdi; 60 requires transitive java.prefs; 61 requires java.logging; 62 requires jdk.compiler; 63 requires jdk.internal.le; 64 requires jdk.internal.ed; 65 requires jdk.internal.opt; 66 67 exports jdk.jshell; 68 exports jdk.jshell.spi; 69 exports jdk.jshell.execution; 70 exports jdk.jshell.tool; 71 72 uses jdk.jshell.spi.ExecutionControlProvider; 73 uses jdk.internal.editor.spi.BuildInEditorProvider; 74 75 provides javax.tools.Tool |