bnb-chain / java-sdk

Apache License 2.0
127 stars 86 forks source link

Update protobuf dependency version #112

Closed trenatov closed 11 months ago

trenatov commented 3 years ago

I am getting below warnings when use #111

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/.../.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

Solved by upgrading below dependency:

com.google.protobuf:protobuf-java:3.15.6