RFR: 8268725: jshell does not support the --enable-native-access option [v2]
Rémi Forax
forax at openjdk.java.net
Thu Sep 2 17:30:13 UTC 2021
On Fri, 16 Jul 2021 18:06:27 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Adding `--enable-native-access` option to JShell. Set as a parameter to the remote agent (`--enable-native-access=ALL-UNNAMED`), but not the compiler, as the compiler does not have this option.
>
> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>
> Including --enable-native-access in help
For me, the code that can require enable-native-access can be either a code written in jshell or a library/module used by the code written by jshell.
Having '-R--enable-preview=ALL-UNNAMED' will only cover the former use case not the later.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4810
More information about the kulla-dev
mailing list