[
https://issues.apache.org/jira/browse/CALCITE-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-4626.
----------------------------------
Fix Version/s: avatica-1.19.0
Resolution: Fixed
Fixed in
[8ec334fd|https://github.com/apache/calcite-avatica/commit/8ec334fd3b03ec6d347ff2751d66d214353b095c];
thanks for the PR, [~amannm]!
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: avatica-1.19.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]
> Simply upgrading the dependency version to the latest (3.17.1) passes the
> Avatica build and results in removal of the warning.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)