BewareMyPower commented on pull request #9893:
URL: https://github.com/apache/pulsar/pull/9893#issuecomment-800834525


   Hi, I just pull the latest master and when I ran a test with Intellij Idea, 
it failed to start with following error message
   
   ```
   Unrecognized option: --add-opens
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   
   I think it may be caused by this PR.
   
   
   ```xml
       <profile>
         <id>jdk11-tests</id>
         <activation>
           <jdk>[11,)</jdk>
         </activation>
         <properties>
           <test.additional.args> --add-opens 
java.base/jdk.internal.loader=ALL-UNNAMED </test.additional.args>
         </properties>
       </profile>
   ```
   
   But even after I removed these lines from `pom.xml`, it still failed. Could 
you give some advice for JDK8 environment?


----------------------------------------------------------------
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]


Reply via email to