rodyarantes opened a new pull request #6575: Removed deprecated 
-XX:+AggressiveOpts
URL: https://github.com/apache/pulsar/pull/6575
 
 
   The Java VM flag -XX:+AggressiveOpts was deprecated in JDK 11
   
   ### Motivation
   
   Unable to start pulsar on JDK 11+.
   
   ```
   Unrecognized VM option 'AggressiveOpts'
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   Error occurred when running startup command.
   ```
   ./bin/pulsar standalone (all modes)
   ```
   
   ### Modifications
   
   Removed JVM flag:
   ```
   -XX:+AggressiveOpts
   ```
   
   ### Verifying this change
   
   This change is already covered by existing tests, such as running 
**bin/pulsar**
   
   ### Does this pull request potentially affect one of the following parts: no
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API: no
     - The schema: no
     - The default values of configurations: yes
     - The wire protocol: no
     - The rest endpoints: no
     - The admin cli options: no
     - Anything that affects deployment: yes
   
   ### Documentation
   
     - Does this pull request introduce a new feature? no
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs 
/ not documented)
     - If a feature is not applicable for documentation, explain why?
     - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to