On Sun, 6 Mar 2022 08:38:41 GMT, Alan Bateman <al...@openjdk.org> wrote:
> `jshell --enable-preview` allows developers to use preview features in the > REPL, having `jdb --enable-preview` and passing it through to the launching > debugee would be useful too. Is that the same as `-R--enable-preview` or `-J--enable-preview`? The help output isn't clear. It list the following options, which at first glance look like they would apply to the target process, but than that's also what `-R` is for: --class-path <path> Specify where to find user class files --module-path <path> Specify where to find application modules --add-modules <module>(,<module>)* Specify modules to resolve, or all modules on the module path if <module> is ALL-MODULE-PATHs --enable-native-access Allow code to run restricted native methods --enable-preview Allow code to depend on preview features of this release ------------- PR: https://git.openjdk.java.net/jdk/pull/7708