Reporting: Illegal reflective access operation

231 views
Skip to first unread message

Rhiannon Hecht

unread,
Jan 16, 2018, 9:39:45 PM1/16/18
to ne...@googlegroups.com
Hi,

In my installation of Bookkeeper on Linux this morning, I saw this (and more) in my console:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/root/.m2/repository/io/netty/netty-all/4.1.12.Final/netty-all-4.1.12.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
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
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.938 sec - in org.apache.bookkeeper.replication.BookieLedgerIndexTest
Running org.apache.bookkeeper.replication.AuthAutoRecoveryTest
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/root/.m2/repository/io/netty/netty-all/4.1.12.Final/netty-all-4.1.12.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
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
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.728 sec - in org.apache.bookkeeper.replication.AuthAutoRecoveryTest
Running org.apache.bookkeeper.replication.AuditorRollingRestartTest
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/root/.m2/repository/io/netty/netty-all/4.1.12.Final/netty-all-4.1.12.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
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

I considered reporting it to and decided to do so. Hope this was helpful.

Thanks for all your work!
- Rhiannon Hecht

Norman Maurer

unread,
Jan 17, 2018, 12:13:21 AM1/17/18
to ne...@googlegroups.com
Can you please update to the latest netty version and report back ?


-- 
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/C390E4E57336844E98B8EEAD5CD5E8CD2669A4AF%40mail.Digitaldynamics.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages