You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Amann Malik (Jira)" <ji...@apache.org> on 2021/05/29 21:52:00 UTC

[jira] [Updated] (CALCITE-4626) Warning during build for JDK9+ projects due to com.google.protobuf.UnsafeUtil

     [ https://issues.apache.org/jira/browse/CALCITE-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amann Malik updated CALCITE-4626:
---------------------------------
    Description: 
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]

 

 

  was:
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]

 

 


> 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: Trivial
>
> 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)