Sergey Korotkov created IGNITE-19645:
----------------------------------------
Summary: Suppress an illegal reflective access runtime warning for
JDK11
Key: IGNITE-19645
URL: https://issues.apache.org/jira/browse/IGNITE-19645
Project: Ignite
Issue Type: Task
Reporter: Sergey Korotkov
Assignee: Sergey Korotkov
Currently the following runtime warnings are printed to console by command line
utilities like ignite.sh or control.sh if used with JDK11:
{noformat}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.apache.ignite.internal.util.GridUnsafe$2
(file:/opt/ignite/libs/ignite-core-2.15.0.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of
org.apache.ignite.internal.util.GridUnsafe$2
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}
Other such warnings are suppressed by the corresponding _--add-opens_ JVM
options in the {{bin/include/jvmdefaults.sh}} (and
{{{}bin/include/jvmdefaults.bat{}}}) files. But not this one.
Warning needs to be suppressed by the
_--add-opens=java.base/java.nio=ALL-UNNAMED_ JVM option.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)