@@ -122,9 +122,10 @@ module.
122122Specifies the root modules to resolve in addition to the initial module.
123123.TP
124124\f[ V ] -C\f[ R ]\f[I] flag \f[ R ]
125- Provides a flag to pass to the compiler.
126- To pass more than one flag, provide an instance of this option for each
127- flag or flag argument needed.
125+ passes \f[I] flag \f[ R ] to the Java compiler inside JShell.
126+ For example, \f[ V ] -C-Xlint\f[ R ] enables all the recommended lint
127+ warnings, and \f[ V ] -C--release=<N>\f[ R ] compiles for Java SE N, as if
128+ --release N was specified.
128129.TP
129130\f[ V ] --class-path\f[ R ] \f[I] path \f[ R ]
130131Specifies the directories and archives that are searched to locate class
@@ -187,9 +188,12 @@ Prints a summary of nonstandard options and exits the tool.
187188Nonstandard options are subject to change without notice.
188189.TP
189190\f[ V ] -J\f[ R ]\f[I] flag \f[ R ]
190- Provides a flag to pass to the runtime system.
191- To pass more than one flag, provide an instance of this option for each
192- flag or flag argument needed.
191+ passes \f[I] flag \f[ R ] to the runtime system, but has no effect on the
192+ execution of code snippets.
193+ To specify flags that affect the execution of code snippets, use
194+ \f[ V ] -R\f[ R ]\f[I] flag \f[ R ] .
195+ Alternatively, use \f[ V ] -J\f[ R ]\f[I] flag \f[ R ] with
196+ \f[ V ] --execution local\f[ R ] .
193197.TP
194198\f[ V ] --module-path\f[ R ] \f[I] modulepath \f[ R ]
195199Specifies where to find application modules.
@@ -208,9 +212,11 @@ Sets the feedback mode to \f[V]concise\f[R], which is the same as
208212entering \f[ V ] --feedback concise\f[ R ] .
209213.TP
210214\f[ V ] -R\f[ R ]\f[I] flag \f[ R ]
211- Provides a flag to pass to the remote runtime system.
212- To pass more than one flag, provide an instance of this option for each
213- flag or flag argument to pass.
215+ passes \f[I] flag \f[ R ] to the runtime system only when code snippets are
216+ executed.
217+ For example, \f[ V ] -R-Dfoo=bar\f[ R ] means that execution of the snippet
218+ \f[ V ] System.getProperty(\[dq ] foo\[dq ] )\f[ R ] will return
219+ \f[ V ]\[dq ] bar\[dq ] \f[ R ] .
214220.TP
215221\f[ V ] -s\f[ R ]
216222Sets the feedback mode to \f[ V ] silent\f[ R ] , which is the same as
0 commit comments