ShadowySpirits opened a new issue, #5097:
URL: https://github.com/apache/rocketmq/issues/5097
When a user runs broker with jdk11, they will face the following two
exceptions:
`WARNING: Illegal reflective access by
org.apache.rocketmq.store.MappedFile$1
(file:/Users/xiexiaohu/github/mq/rocketmq-4.9.3/lib/rocketmq-store-4.9.3.jar)
to method java.nio.DirectByteBuffer.attachment()
`
`java.lang.reflect.InaccessibleObjectException: Unable to make public void
jdk.internal.ref.Cleaner.clean() accessible: module java.base does not "exports
jdk.internal.ref" to unnamed module`
It is because jdk9+ uses module to restrict use of internal api and
reflection. We need a new way to bypass restricted api.
related issues: #3321 #4161
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]