gnodet commented on PR #4790: URL: https://github.com/apache/activemq-artemis/pull/4790#issuecomment-1920995074
> when you run the the CLI after upgrading here, you get this: > > ``` > clebertsuconic@MacBook-Pro bin % ./artemis > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by org.jline.terminal.impl.exec.ExecTerminalProvider$ReflectionRedirectPipeCreator (file:/Users/clebertsuconic/work/apache/activemq-artemis/artemis-distribution/target/apache-artemis-2.33.0-SNAPSHOT-bin/apache-artemis-2.33.0-SNAPSHOT/lib/jline-3.24.1.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 > _ _ _ > ``` To get rid of this warning, it should be possible to define the system property `org.jline.terminal.exec.redirectPipeCreationMode` and give it the value `native`. This should use a native method instead of reflection and should avoid this warning. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
