hexueyuan opened a new issue, #9030:
URL: https://github.com/apache/rocketmq/issues/9030

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   CentOS 7.5
   
   ### RocketMQ version
   
   4.9.8
   
   ### JDK Version
   
   openjdk version "21.0.2" 2024-01-16
   
   ### Describe the Bug
   
   I used the RocketMQ environment compiled with JDK21. After running for a 
while, I restarted the Broker and the Broker could not be started successfully 
due to the following error. From the log analysis, it was because these 
packages did not show the addition of the --add-opens parameter, so it caused 
an exception when running in a higher version of the JDK environment.
   <img width="1438" alt="image" 
src="https://github.com/user-attachments/assets/9b9fc474-5fe5-4c9a-b6db-30b58bbfc4a5";>
   
   
   ### Steps to Reproduce
   
   This can't be reproduced every time.  After running the Broker compiled with 
JDK21 for a while, there is a probability that this error will be reported when 
restarting the Broker.
   
   ### What Did You Expect to See?
   
   Broker can be started successfully.
   
   ### What Did You See Instead?
   
   Broker startup failed.
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to