alaisi / postgres-async-driver

Asynchronous PostgreSQL Java driver
Apache License 2.0
287 stars 38 forks source link

Update netty dependency version #66

Closed hinamizawa closed 1 year ago

hinamizawa commented 4 years ago

Java 11, Clojure 1.10.1

It throws something like

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0 (file:/Users/jylu/IdeaProjects/hello/target/hello-0.1.0-SNAPSHOT-standalone.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0
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
Apr 29, 2020 5:36:01 PM io.netty.util.internal.PlatformDependent <clinit>
INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.

The issue is solved by upgrading netty version. See: https://github.com/netty/netty/issues/7254