You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/28 06:06:01 UTC

[GitHub] [rocketmq] Jason918 commented on issue #3378: Is it risky to run with jdk 11 ?

Jason918 commented on issue #3378:
URL: https://github.com/apache/rocketmq/issues/3378#issuecomment-928882513


   As far as I know, some test case fails in JDK11. 
   You can try run `mvn clean install -DskipITs` in branch "release-4.9.1"
   
   Here is related log, run with AdoptOpenJDK 11.0.11 on mac os 10.15.7
   
   > Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 4.67 sec <<< FAILURE! - in org.apache.rocketmq.store.BatchPutMessageTest
   > testPutMessages(org.apache.rocketmq.store.BatchPutMessageTest)  Time elapsed: 4.589 sec  <<< ERROR!
   > java.lang.IllegalStateException: 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 @7dc7cbad
   >         at org.apache.rocketmq.store.BatchPutMessageTest.destory(BatchPutMessageTest.java:63)
   > Caused by: 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 @7dc7cbad
   >         at org.apache.rocketmq.store.BatchPutMessageTest.destory(BatchPutMessageTest.java:63)
   > 
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org