Vadim Pakhnushev created IGNITE-27096:
-----------------------------------------
Summary: Illegal reflective access in CLI
Key: IGNITE-27096
URL: https://issues.apache.org/jira/browse/IGNITE-27096
Project: Ignite
Issue Type: Bug
Components: cli ai3
Reporter: Vadim Pakhnushev
Assignee: Vadim Pakhnushev
When CLI is started using Java 11 as a runtime, the following warnings are
printed to the console:
{noformat}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.jline.terminal.impl.exec.ExecTerminalProvider$ReflectionRedirectPipeCreator
(file:/.../lib/jline-3.29.0.jar) to constructor
java.lang.ProcessBuilder$RedirectPipeImpl()
WARNING: Please consider reporting this to the maintainers of
org.jline.terminal.impl.exec.ExecTerminalProvider$ReflectionRedirectPipeCreator
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
{noformat}
Possible solutions - add {{--add-opens java.base/java.lang=ALL-UNNAMED}} to the
start script, or pass the
{{org.jline.terminal.exec.redirectPipeCreationMode=native}} system property to
the JLine library to force native library instead of reflection.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)