Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.26.0
Description
During project builds using calcite-core, the following warning shows up:
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
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
Simply upgrading the dependency version to the latest (3.17.1) passes the Avatica build and results in removal of the warning.
Attachments
Issue Links
- is related to
-
CALCITE-5232 Upgrade protobuf-java from 3.17.1 to 3.21.5
- Closed
- relates to
-
CALCITE-4836 Upgrade protobuf-java 3.6.1 -> 3.17.1
- Closed
- links to