Amann Malik created CALCITE-4626:
------------------------------------
Summary: Warning during build for JDK9+ projects due to
com.google.protobuf.UnsafeUtil
Key: CALCITE-4626
URL: https://issues.apache.org/jira/browse/CALCITE-4626
Project: Calcite
Issue Type: Bug
Components: avatica
Affects Versions: 1.26.0
Reporter: Amann Malik
During project builds using calcite-core, the following warning shows up:
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil
(file:/Users/amannmalik/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protobuf-java/3.6.1/d06d46ecfd92ec6d0f3b423b4cd81cb38d8b924/protobuf-java-3.6.1.jar)
to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of
com.google.protobuf.UnsafeUtil
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
{code}
This is due to the Avatica dependency on a version of protobuf-java that
suffers from the already documented and resolved issue:
[https://github.com/protocolbuffers/protobuf/issues/3781]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)